summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorShigeki Yokomichi <shigeki.x.yokomichi@sonymobile.com>2016-10-12 18:35:17 +0900
committerShunta Sato <shunta.sato@sonymobile.com>2016-10-24 13:30:49 +0900
commit0bd28e2c5f7fd7e4448ae489b425e4e5cee57f9a (patch)
treea1ed0d2ff704763099f16b5deec41dca4b1baf9f /tools/aapt2/java/JavaClassGenerator_test.cpp
parent1a02a2683814661fd1fb6ab811fc8f76dc610511 (diff)
Avoid NPE around mReusedTask of ActivityStarter
Symptom: System crash by NPE is observed on ActivityStarter during phone boot-up. Detail and sample: ActivityStarter has possibility to be called itself recursively by calling TaskRecord$performClearTaskLocked(). Then class variable of mReusedTask is initialized to null after the call, because the recursive call isn't guarded by synchronized block. Then NPE crash occurs on next statement. Solutions: Avoid to use the class variable on null possibility statement. Bug: 32361138 Change-Id: Iaea3e066a6f7134fcae4338ff864bb236241194c
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions