summaryrefslogtreecommitdiff
path: root/libs/hwui/FrameInfoVisualizer.cpp
diff options
context:
space:
mode:
author Riddle Hsu <riddlehsu@google.com> 2022-02-14 21:56:11 +0800
committer Riddle Hsu <riddlehsu@google.com> 2022-02-14 21:56:11 +0800
commit270799ad192ef25ca3e47d822f64ac4ba3880fe6 (patch)
tree8aa62acabf2a211ac0668fc78cc3345ffd98cc0b /libs/hwui/FrameInfoVisualizer.cpp
parentcdd2a77e6b84b03c16d824b37db34a9216c2c851 (diff)
Prevent potential NPE when forcing stop package during boot
Some test cases may send package removal command before boot complete, e.g. around SecondaryZygotePreload stage. Then ActivityManagerService#setWindowManager is not called yet so mRootWindowContainer in ATMS is null. Bug: 219066637 Bug: 186665301 Test: Restart device by "adb shell am restart". And keep sending "adb uninstall $validPackageName". The device should still boot successfully without crash. And the target package is also removed successfully. Change-Id: I2711fabb0755b53a9817ce81ab553e5ce2a8c389
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions