diff options
author | Riddle Hsu <riddlehsu@google.com> | 2020-01-17 22:09:17 +0800 |
---|---|---|
committer | Riddle Hsu <riddlehsu@google.com> | 2020-01-20 10:30:34 +0000 |
commit | 03c8642490de98ca675f199250d7ad91b42664a1 (patch) | |
tree | 4b68c14e2821f8bd2658bfde0d9a95568a0a77fc /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | fb342fcf551c37994986899862af8fc779394aed (diff) |
Fix NPE when popping ANR dialog for system
The process record of system server is created before
initializing window manager. Then its wm internal is
always null.
Bug: 117877476
Bug: 147912509
Test: Simulate ANR in system server:
Install a test app that contains a no response receiver
declared with running in system server.
Use command "shell am broadcast --receiver-foreground ..."
to start the receiver and check ANR dialog is popped.
Change-Id: If41370e7e0ef799bbd4055d73e020bd3871df092
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions