diff options
author | Jeff Chang <chengjeff@google.com> | 2021-09-22 15:40:09 +0800 |
---|---|---|
committer | Jeff Chang <chengjeff@google.com> | 2021-09-23 16:23:47 +0800 |
commit | a6659239288f281e61bf5fb2d12633a1be6f54f2 (patch) | |
tree | de64e95ef2db9578f17f6e2f784ed540391446ef /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | e8af787674674af31972e8ee9d7750edce31b843 (diff) |
Clean up the no-history entries while the app died
mNoHistoryActivities, A list maintains the no-history activities.
If the device goes to sleep with such activity in the paused state
then save it here and finish it later if another activity replaces
it. We should clean up the entries together while the app dies
otherwise the items still stay in the list.
Bug: 200159293
Bug: 199523354
Test: 1. start some activity with no-history and transparent property
2. adb shell am force-stop “the app”
3. adb dumpsys activity activities to check mNoHistoryActivities.
Change-Id: Ib2e3f12f83d562cd25efe918eb27e25f4dc890b2
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions