summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Riddle Hsu <riddlehsu@google.com> 2022-06-11 00:22:33 +0800
committer Riddle Hsu <riddlehsu@google.com> 2022-06-11 00:22:33 +0800
commit828d7ca895fc412ed12f2644ceb465bc03922470 (patch)
tree4490ca62ba4b783101a098519f22cb80cfcfa329 /libs/androidfw/StringPool.cpp
parent51d1c6ec661550a6b7033aaf42c378f866cf9cc5 (diff)
Avoid potential NPE if the restore-below task is not collected
If there is an existing collecting transition, the restore-below task may not be collected. Also make sure continueWindowLayout() will be called in finally block. Previously if handleStartResult() throws exception, the surface layout will be broken that its defer count isn't paired. Bug: 230582311 Test: adb shell setprop persist.wm.debug.shell_transit 1; reboot Launch/swipe app quickly many times. Change-Id: I7ae962c5085630a5cf194625d2f8b3e8f30a45b2
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions