summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorCurtis Belmonte <curtislb@google.com>2021-03-09 15:55:35 -0800
committerCurtis Belmonte <curtislb@google.com>2021-03-09 16:34:25 -0800
commitc665c082530e80528d806984e5755749b716ae4a (patch)
tree46ecd387329fdf372b349b7715f6ada0d563695a /tools/aapt2/java/JavaClassGenerator_test.cpp
parent7660d7402d5aec2212dca6bc5aedbfdb7ad4f6a8 (diff)
Use different prompt messages for biometric|credential
Because the subtitle/description string is shared between the biometric and credential versions of BiometricPrompt, the corresponding prompt message string should indicate that either auth type may be used. Otherwise, the string "Use your fingerprint to continue" may be shown on a screen prompting the user for their PIN, or vice versa. This commit addresses the issue by having the getPromptMessage(int) method of BiometricManager return a different string when both biometric and credential authentication are allowed and available, as opposed to when only biometric authentication is allowed. Test: atest BiometricManagerTest Test: Manually tested strings using biometric integration test app Bug: 180732913 Change-Id: I39d22c756b71de533f228b6a765ef81b82c2f4da
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions