summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorCurtis Belmonte <curtislb@google.com>2020-11-16 17:12:34 -0800
committerCurtis Belmonte <curtislb@google.com>2020-11-17 14:04:56 -0800
commit246553d1fbf116269a7ced77f15037bb142573aa (patch)
tree6305829724f9385e8a9c48360f02c6b3b7b02a70 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent9649d433d0140ae2ded430aa1d52132385aa07cd (diff)
Run error callback when BiometricPrompt dismissed early
Currently, if BiometricPrompt is dismissed quickly (e.g. by tapping on the top half of the screen to dismiss it while it's being shown) the ongoing authentication session may not be canceled and the onAuthenticationError callback may not be run. This commit fixes the issue by ensuring that a dismissal reason is sent to callback if the prompt is shown while in the "pending dismissal" state. Test: atest com.android.systemui.biometrics Test: Manual: 1. Using a custom test app, trigger BiometricPrompt to be shown 2. While the prompt is being shown, repeatedly tap top half of screen 3. Ensure the prompt is dismissed and onAuthenticationError is called Fixes: 173417042 Change-Id: I240efba1b008681534380c5e4a10bff973f258a6
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions