summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorlouis_chang <louis_chang@htc.com>2015-04-08 18:04:11 +0800
committerlouis_chang <louis_chang@htc.com>2015-04-08 18:04:11 +0800
commit3d86b88fa7614fd437b8c9acf16d90ec611ee1f7 (patch)
tree610f155b77d54e966b836b2b9419270adbdc88c2 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent80e455e32580fb909af18ad0a21fccc6b433dd4b (diff)
[ActivityManager] Avoid NullPointerException if no
crash info Symptom: This issue happens because the ANR process got killed (because it crashed) before the ANR dialog dismissed. In that case, the process record is marked as crashed (ProcessRecord.crashing = true). When the ANR dialog dismissed by user, it will cause NullPointerException when writeToParcel while performing IPC because there is no crash info (ApplicationErrorReport.crashInfo = null) Solution: Check crashinfo before access it Change-Id: I2995de57684c1e13aab8297f5eea1e82ca3b7ad8
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions