| <?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=" <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's `true` by default, and that can have some security implications for the application's data)" |
| errorLine1=" <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=" <string name="biometric_test_app_title">Biometric Test App</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=" <string name="show_prompt_label">Show prompt</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=" <string name="device_credential_label">Allow device credential</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=" <string name="cancel_config_change_label">Cancel when configuration changes</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=" <string name="require_confirmation_label">Require confirmation</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=" <string name="clear_log_label">Clear logs</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=" <application>" |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/main/AndroidManifest.xml" |
| line="27" |
| column="6"/> |
| </issue> |
| |
| <issue |
| id="HardcodedText" |
| message="Hardcoded string "Authenticator types:", should use `@string` resource" |
| errorLine1=" android:text="Authenticator types:"" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/activity_biometric_test.xml" |
| line="32" |
| column="13"/> |
| </issue> |
| |
| <issue |
| id="HardcodedText" |
| message="Hardcoded string "BIOMETRIC_STRONG", should use `@string` resource" |
| errorLine1=" android:text="BIOMETRIC_STRONG"" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/activity_biometric_test.xml" |
| line="46" |
| column="17"/> |
| </issue> |
| |
| <issue |
| id="HardcodedText" |
| message="Hardcoded string "BIOMETRIC_WEAK", should use `@string` resource" |
| errorLine1=" android:text="BIOMETRIC_WEAK"" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/activity_biometric_test.xml" |
| line="62" |
| column="17"/> |
| </issue> |
| |
| <issue |
| id="HardcodedText" |
| message="Hardcoded string "DEVICE_CREDENTIAL", should use `@string` resource" |
| errorLine1=" android:text="DEVICE_CREDENTIAL"" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/activity_biometric_test.xml" |
| line="77" |
| column="17"/> |
| </issue> |
| |
| <issue |
| id="HardcodedText" |
| message="Hardcoded string "Other options:", should use `@string` resource" |
| errorLine1=" android:text="Other options:"" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/activity_biometric_test.xml" |
| line="84" |
| column="13"/> |
| </issue> |
| |
| <issue |
| id="HardcodedText" |
| message="Hardcoded string "Cancel on configuration change", should use `@string` resource" |
| errorLine1=" android:text="Cancel on configuration change"" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/activity_biometric_test.xml" |
| line="98" |
| column="17"/> |
| </issue> |
| |
| <issue |
| id="HardcodedText" |
| message="Hardcoded string "Require confirmation", should use `@string` resource" |
| errorLine1=" android:text="Require confirmation"" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/activity_biometric_test.xml" |
| line="114" |
| column="17"/> |
| </issue> |
| |
| <issue |
| id="HardcodedText" |
| message="Hardcoded string "Use crypto-based authentication", should use `@string` resource" |
| errorLine1=" android:text="Use crypto-based authentication"" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/activity_biometric_test.xml" |
| line="129" |
| column="17"/> |
| </issue> |
| |
| <issue |
| id="HardcodedText" |
| message="Hardcoded string "Can authenticate", should use `@string` resource" |
| errorLine1=" android:text="Can authenticate" />" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/activity_biometric_test.xml" |
| line="137" |
| column="13"/> |
| </issue> |
| |
| <issue |
| id="HardcodedText" |
| message="Hardcoded string "Authenticate", should use `@string` resource" |
| errorLine1=" android:text="Authenticate" />" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/activity_biometric_test.xml" |
| line="143" |
| column="13"/> |
| </issue> |
| |
| <issue |
| id="HardcodedText" |
| message="Hardcoded string "Clear log", should use `@string` resource" |
| errorLine1=" android:text="Clear log" />" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/activity_biometric_test.xml" |
| line="149" |
| column="13"/> |
| </issue> |
| |
| </issues> |