summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorAhan Wu <ahanwu@google.com>2020-02-17 18:49:59 +0800
committerAhan Wu <ahanwu@google.com>2020-02-17 18:49:59 +0800
commitc9c7ebb464b4fdee664756880482956db512456a (patch)
tree8e6abcbee44b9735e2e9dbcdfe68b0fad67b1932 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent10d16e52bc8b57f2b8bfa09ce118731130469749 (diff)
Fix potential NPE while releasing worker thread of ImageWallpaper
We nullify mWorker right in ImageWallpaper#destroy(), we might get NPE if postRender is invoked later. Thus, we add null check to avoid NPE. Bug: 144039509 Bug: 146167292 Test: atest com.android.systemui Test: atest CtsMultiUserHostTestCases Change-Id: Idff558cbdbfa96df3154eb726a36645ee847c0bd
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions