summaryrefslogtreecommitdiff
path: root/libs/androidfw/ZipFileRO.cpp
diff options
context:
space:
mode:
author Riddle Hsu <riddlehsu@google.com> 2024-04-12 23:53:10 +0800
committer Riddle Hsu <riddlehsu@google.com> 2024-04-13 00:27:29 +0800
commit7054a7809dfdaa6acb7a5247216fe7bbd5cfec2a (patch)
treebfa08c3fb2020c29d944bcef983ff6f46ba1388a /libs/androidfw/ZipFileRO.cpp
parent944de4f93738a08b9089d7ddb42c98b8649e32f7 (diff)
Hold wm lock in ClearOptionsAnimation
The invocation may be from PermissionPolicyService.Internal mActivityInterceptorCallback#onActivityLaunched mHandler.post(() -> showNotificationPromptIfNeeded... launchNotificationPermissionRequestDialog info.getClearOptionsAnimationRunnable().run(); If wm lock is not held, the field mPendingOptions, mPendingRemoteAnimation, mPendingRemoteTransition could be null when other wm operations are executing which may lead to random NPE. Bug: 333974740 Test: Launch an old version of API Demo from launcher. The notification permission activity can show with animation normally. Change-Id: Iccf5ba19645a97a3f73298cbfc54710c3fcded14
Diffstat (limited to 'libs/androidfw/ZipFileRO.cpp')
0 files changed, 0 insertions, 0 deletions