summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Riddle Hsu <riddlehsu@google.com> 2022-03-15 15:46:31 +0800
committer Riddle Hsu <riddlehsu@google.com> 2022-03-15 15:48:08 +0800
commit56ce0fa5c1777ef0a3aec6d9b3495d4bdfe3b29d (patch)
tree36d89f98d28eba7fe2c28c92b964ded93dad9532 /libs/androidfw/StringPool.cpp
parent9675d3b8770ab86453567341f349e1831e829443 (diff)
Preserve task when clearing top activities
There is no guarantee that clear-top won't finish all activities in the task, such as the last activity is declared as default launch mode and the intent flags don't have SINGLE_TOP, then it will also be finished. Otherwise when adding the new activity into the detached task, it will cause NPE in onChildPositionChanged because its display content is null. Fixes: 224462770 Test: TaskTests#testPerformClearTop Change-Id: Icfa0390a5881043bc55486347aa2854db100d171
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions