summaryrefslogtreecommitdiff
path: root/libs/androidfw/ResourceTimer.cpp
diff options
context:
space:
mode:
author Riddle Hsu <riddlehsu@google.com> 2024-08-28 12:55:26 +0800
committer Riddle Hsu <riddlehsu@google.com> 2024-08-28 13:10:25 +0800
commitc2c4a32eb1c6eca273d3bebb689b6f5094ac40a5 (patch)
tree36243224a2646908191d6cd4d98266b8ae285317 /libs/androidfw/ResourceTimer.cpp
parent4cc6b39fa5fe44f5b4c71b1447b49b84d745ec6d (diff)
Clear idle state of destroyed activity
This is mainly for when the activity process is died in background: AR#handleAppDied -> cleanUp -> setState(DESTROYED, "cleanUp") This prevents allResumedActivitiesIdle from misjudging idle state when cold launching the died activity again. Bug: 356522395 Flag: EXEMPT bugfix Test: atest ActivityRecordTests# \ testDestroyImmediately_hadApp_notFinishing Test: Launch app A, launch app B. Return to home. Use "adb shell kill -9 $pid" to kill B. Enter split-screen including A and B. The launch mode power should end after B is started. Change-Id: Ib1cf28c71cfb2fb8ff64cc42fffd2003dce727f4
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions