blob: 44062493254af1d27dd8598359674587494ce3dd [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<issues format="5" by="lint 4.2.0-alpha15" client="gradle" variant="debug" version="4.2.0-alpha15">
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 23, the call containing class androidx.biometric.integration.testapp.BiometricTestActivity is not annotated with @RequiresApi(x) where x is at least 23. Either annotate the containing class with at least @RequiresApi(23) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(23)."
errorLine1=" val keySpec = KeyGenParameterSpec.Builder(KEY_NAME, keyPurpose)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/biometric/integration/testapp/BiometricTestActivity.kt"
line="212"
column="43"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 23, the call containing class androidx.biometric.integration.testapp.BiometricTestActivity is not annotated with @RequiresApi(x) where x is at least 23. Either annotate the containing class with at least @RequiresApi(23) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(23)."
errorLine1=" .setBlockModes(KeyProperties.BLOCK_MODE_CBC)"
errorLine2=" ~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/biometric/integration/testapp/BiometricTestActivity.kt"
line="213"
column="14"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 23, the call containing class androidx.biometric.integration.testapp.BiometricTestActivity is not annotated with @RequiresApi(x) where x is at least 23. Either annotate the containing class with at least @RequiresApi(23) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(23)."
errorLine1=" .setEncryptionPaddings(KeyProperties.ENCRYPTION_PADDING_PKCS7)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/biometric/integration/testapp/BiometricTestActivity.kt"
line="214"
column="14"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 23, the call containing class androidx.biometric.integration.testapp.BiometricTestActivity is not annotated with @RequiresApi(x) where x is at least 23. Either annotate the containing class with at least @RequiresApi(23) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(23)."
errorLine1=" .setUserAuthenticationRequired(true)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/biometric/integration/testapp/BiometricTestActivity.kt"
line="215"
column="14"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 23, the call containing class androidx.biometric.integration.testapp.BiometricTestActivity is not annotated with @RequiresApi(x) where x is at least 23. Either annotate the containing class with at least @RequiresApi(23) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(23)."
errorLine1=" setUserAuthenticationValidityDurationSeconds(-1)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/biometric/integration/testapp/BiometricTestActivity.kt"
line="221"
column="21"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 23, the call containing class androidx.biometric.integration.testapp.BiometricTestActivity is not annotated with @RequiresApi(x) where x is at least 23. Either annotate the containing class with at least @RequiresApi(23) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(23)."
errorLine1=" .build()"
errorLine2=" ~~~~~">
<location
file="src/main/java/androidx/biometric/integration/testapp/BiometricTestActivity.kt"
line="224"
column="14"/>
</issue>
<issue
id="TrulyRandom"
message="Potentially insecure random numbers on Android 4.3 and older. Read https://android-developers.blogspot.com/2013/08/some-securerandom-thoughts.html for more info."
errorLine1=" val keyGenerator = getInstance(KeyProperties.KEY_ALGORITHM_AES, KEYSTORE_INSTANCE)"
errorLine2=" ~~~~~~~~~~~">
<location
file="src/main/java/androidx/biometric/integration/testapp/BiometricTestActivity.kt"
line="227"
column="28"/>
</issue>
<issue
id="AllowBackup"
message="On SDK version 23 and up, your app data will be automatically backed up and restored on app install. Consider adding the attribute `android:fullBackupContent` to specify an `@xml` resource which configures which files to backup. More info: https://developer.android.com/training/backup/autosyncapi.html"
errorLine1=" &lt;application>"
errorLine2=" ~~~~~~~~~~~">
<location
file="src/main/AndroidManifest.xml"
line="27"
column="6"/>
</issue>
<issue
id="AllowBackup"
message="Should explicitly set `android:allowBackup` to `true` or `false` (it&apos;s `true` by default, and that can have some security implications for the application&apos;s data)"
errorLine1=" &lt;application>"
errorLine2=" ~~~~~~~~~~~">
<location
file="src/main/AndroidManifest.xml"
line="27"
column="6"/>
</issue>
<issue
id="UnusedResources"
message="The resource `R.string.biometric_test_app_title` appears to be unused"
errorLine1=" &lt;string name=&quot;biometric_test_app_title&quot;>Biometric Test App&lt;/string>"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/strings.xml"
line="19"
column="13"/>
</issue>
<issue
id="UnusedResources"
message="The resource `R.string.show_prompt_label` appears to be unused"
errorLine1=" &lt;string name=&quot;show_prompt_label&quot;>Show prompt&lt;/string>"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/strings.xml"
line="21"
column="13"/>
</issue>
<issue
id="UnusedResources"
message="The resource `R.string.device_credential_label` appears to be unused"
errorLine1=" &lt;string name=&quot;device_credential_label&quot;>Allow device credential&lt;/string>"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/strings.xml"
line="22"
column="13"/>
</issue>
<issue
id="UnusedResources"
message="The resource `R.string.cancel_config_change_label` appears to be unused"
errorLine1=" &lt;string name=&quot;cancel_config_change_label&quot;>Cancel when configuration changes&lt;/string>"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/strings.xml"
line="23"
column="13"/>
</issue>
<issue
id="UnusedResources"
message="The resource `R.string.require_confirmation_label` appears to be unused"
errorLine1=" &lt;string name=&quot;require_confirmation_label&quot;>Require confirmation&lt;/string>"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/strings.xml"
line="24"
column="13"/>
</issue>
<issue
id="UnusedResources"
message="The resource `R.string.clear_log_label` appears to be unused"
errorLine1=" &lt;string name=&quot;clear_log_label&quot;>Clear logs&lt;/string>"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/strings.xml"
line="25"
column="13"/>
</issue>
<issue
id="MissingApplicationIcon"
message="Should explicitly set `android:icon`, there is no default"
errorLine1=" &lt;application>"
errorLine2=" ~~~~~~~~~~~">
<location
file="src/main/AndroidManifest.xml"
line="27"
column="6"/>
</issue>
<issue
id="HardcodedText"
message="Hardcoded string &quot;Authenticator types:&quot;, should use `@string` resource"
errorLine1=" android:text=&quot;Authenticator types:&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/layout/activity_biometric_test.xml"
line="32"
column="13"/>
</issue>
<issue
id="HardcodedText"
message="Hardcoded string &quot;BIOMETRIC_STRONG&quot;, should use `@string` resource"
errorLine1=" android:text=&quot;BIOMETRIC_STRONG&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/layout/activity_biometric_test.xml"
line="46"
column="17"/>
</issue>
<issue
id="HardcodedText"
message="Hardcoded string &quot;BIOMETRIC_WEAK&quot;, should use `@string` resource"
errorLine1=" android:text=&quot;BIOMETRIC_WEAK&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/layout/activity_biometric_test.xml"
line="62"
column="17"/>
</issue>
<issue
id="HardcodedText"
message="Hardcoded string &quot;DEVICE_CREDENTIAL&quot;, should use `@string` resource"
errorLine1=" android:text=&quot;DEVICE_CREDENTIAL&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/layout/activity_biometric_test.xml"
line="77"
column="17"/>
</issue>
<issue
id="HardcodedText"
message="Hardcoded string &quot;Other options:&quot;, should use `@string` resource"
errorLine1=" android:text=&quot;Other options:&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/layout/activity_biometric_test.xml"
line="84"
column="13"/>
</issue>
<issue
id="HardcodedText"
message="Hardcoded string &quot;Cancel on configuration change&quot;, should use `@string` resource"
errorLine1=" android:text=&quot;Cancel on configuration change&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/layout/activity_biometric_test.xml"
line="98"
column="17"/>
</issue>
<issue
id="HardcodedText"
message="Hardcoded string &quot;Require confirmation&quot;, should use `@string` resource"
errorLine1=" android:text=&quot;Require confirmation&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/layout/activity_biometric_test.xml"
line="114"
column="17"/>
</issue>
<issue
id="HardcodedText"
message="Hardcoded string &quot;Use crypto-based authentication&quot;, should use `@string` resource"
errorLine1=" android:text=&quot;Use crypto-based authentication&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/layout/activity_biometric_test.xml"
line="129"
column="17"/>
</issue>
<issue
id="HardcodedText"
message="Hardcoded string &quot;Can authenticate&quot;, should use `@string` resource"
errorLine1=" android:text=&quot;Can authenticate&quot; />"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/layout/activity_biometric_test.xml"
line="137"
column="13"/>
</issue>
<issue
id="HardcodedText"
message="Hardcoded string &quot;Authenticate&quot;, should use `@string` resource"
errorLine1=" android:text=&quot;Authenticate&quot; />"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/layout/activity_biometric_test.xml"
line="143"
column="13"/>
</issue>
<issue
id="HardcodedText"
message="Hardcoded string &quot;Clear log&quot;, should use `@string` resource"
errorLine1=" android:text=&quot;Clear log&quot; />"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/layout/activity_biometric_test.xml"
line="149"
column="13"/>
</issue>
</issues>