summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorJerry Chang <chenghsiuchang@google.com>2020-02-24 18:03:33 +0800
committerJerry Chang <chenghsiuchang@google.com>2020-02-26 10:56:29 +0000
commit30efde6a3041d6d5196be42c9e2d6e421910cb3b (patch)
tree98956855d5b749ffe5148c9980b79cdcacee4118 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent768070530bd49b9ec72462ad9b05e26a47edac68 (diff)
Prevent NPE whlie leaving windowless dream service.
There might having windowless dream service like doze dream which won't hava attached activity, so call finish() directly in onWakeUp() since finish() itself deals with finishAndRemoveTask() as well. Fix: b/150110220 Test: manual test, won't throw NPE while leaving doze service. Change-Id: I982c2f6fb1859e869732ef8795b61bf96e8cff64 Merged-In: I982c2f6fb1859e869732ef8795b61bf96e8cff64 (cherry picked from commit 45f0d572c17c6e4714ba901c511f127339394a02)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions