Update ACTION_BIOMETRIC_ENROLL documentation
Activity result codes are already being used "undocumentedly" by SUW. Given the timeline, it's better to not make any guarantees about the result code and just mention that applications should still check BiometricManager#canAuthenticate(int) after onActivityResult. Fixes: 151058692 Test: Skip fingerprint in SUW. Fingerprint SUW is not shown again. Change-Id: Ia36ea1b6cfc39848be00f8d2219604e68ff45213
This commit is contained in:
@@ -709,10 +709,7 @@ public final class Settings {
|
||||
* If not specified, the default behavior is
|
||||
* {@link android.hardware.biometrics.BiometricManager.Authenticators#BIOMETRIC_WEAK}.
|
||||
* <p>
|
||||
* Output: Returns {@link android.app.Activity#RESULT_CANCELED} if the user already has an
|
||||
* authenticator that meets the requirements, or if the device cannot fulfill the request
|
||||
* (e.g. does not have biometric hardware). Returns {@link android.app.Activity#RESULT_OK}
|
||||
* otherwise. Note that callers should still check
|
||||
* Output: Nothing. Note that callers should still check
|
||||
* {@link android.hardware.biometrics.BiometricManager#canAuthenticate(int)}
|
||||
* afterwards to ensure that the user actually completed enrollment.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user