summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Hao Dong <spdonghao@google.com> 2024-10-11 03:54:02 +0000
committer Hao Dong <spdonghao@google.com> 2025-01-06 12:04:24 -0800
commit0d67fca4ce091b93603b2c6e3ea5b98e8c0a3c49 (patch)
tree0c4e721837072e8a76e28dfcac3a3b65a19d8aa7 /libs/androidfw/StringPool.cpp
parentffe032c1c5d7b2c4926bea110e44a861671e7999 (diff)
Fix settings activity showing background bp when
createConfirmDeviceCredentialIntent() API is used. If the app uses createConfirmDeviceCredentialIntent(), ConfirmDeviceCredentialActivity is the top activity which has "settings" as package name. Then if the app switches to settings, since previous foreground check only checks package name, biometric prompt isn't cancelled. This CL adds a class name check for this case. Flag: EXEMPT bugfix Bug: 339532378 Test: manual test with sample app on emulator Test: atest BiometricActivityTests#testConfirmDeviceCredentialActivityDismiss_whenSwitchToSettings Change-Id: I722e285cd15869799b9fadd2324014cf3c6d44ad Merged-In: I722e285cd15869799b9fadd2324014cf3c6d44ad
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions