summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
diff options
context:
space:
mode:
authorIlya Matyukhin <ilyamaty@google.com>2021-11-12 15:17:39 -0800
committerIlya Matyukhin <ilyamaty@google.com>2021-11-15 18:26:36 +0000
commit1267a8ffa5288244bf53c4a7979556423bc9c0d4 (patch)
tree4e1a465010da8b14fe01c139102bbe42fdb9963b /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
parentba64f849cf6041b7737176dbc532807dd386b8a7 (diff)
Fix UDFPS not working when a HUN is showing
We didn't want the UDFPS overlay to handle touches when a user pulls down the notification shade. We accomplished it by ignoring UDFPS touches if the notification shade is expanded. However, that had an undesired side effect. Apparently, the notification shade is considered expanded when a heads-up notification (HUN) is showing. Which means if a user receives a HUN during authentication, their touch will be ignored. This CL fixes the undesired behavior by also checking the expansion ratio. It appears that when a HUN is showing, the notification shade reports itself as expanded with the 0.0f expansion ratio. Bug: 203213357 Test: authenticate in BiometricPrompt with a HUN showing Change-Id: I597393b8f8bafda3b28e54237a44ba7517681869
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions