summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Riddle Hsu <riddlehsu@google.com> 2022-07-16 00:29:41 +0800
committer Riddle Hsu <riddlehsu@google.com> 2022-07-18 07:11:13 +0000
commit494afca0bf7efd5943f8273a30051a05af466664 (patch)
treef7447688e221a3eb6f43ed7b8da0020e0502a0f6 /libs/androidfw/StringPool.cpp
parent661d05308a3ca765dea989a626e76e903ab6f1b7 (diff)
Do not update visibility inside clearing task
Otherwise if the top activity doesn't occlude and there is a pending global config change, the activity behind will be scheduled a relaunch item and a destroy item. Then there may be unexpected behavior by the onCreate from the relaunch. Note that isClearingToReuseTask() is only true when starting a new activity with clearing task. The visibility will still be updated later when resuming next activity. Bug: 238978283 Test: atest TaskTests#testPerformClearTop Change-Id: I4b926adfef0a159f99d002f78838654e9f27baee
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions