Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 9e87948a authored by Calvin Huang's avatar Calvin Huang Committed by Android Build Coastguard Worker
Browse files

Update PAUSE usage state when activity move from RESUMED to STOPPING

In some multitasking scenarios, an activity can be scheduled to move
directly from the RESUMED state to the STOPPED state, bypassing the PAUSED state.
But the activity will cycled through to PAUSED state anyway. Need to
update the PAUSED usage state in this case.

Test: atest com.google.android.gts.playstore.UsageStatsHostTest
Test: atest ActivityRecordTests
Bug: 368228446
Flag: EXEMPT bugfix
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:292ae8c060b23750422af0f822c0ca297addbfb7)
Merged-In: Ib66e9627d4c7ed857df9d6ae614e2001ad2d97b6
Change-Id: Ib66e9627d4c7ed857df9d6ae614e2001ad2d97b6
parent 7d723f58
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment