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

Skip to content
Commit 86e70fcc authored by Andrii Kulian's avatar Andrii Kulian
Browse files

Report top resumed state only after previous activity lost it

This provides a guarantee that onTopResumedActivityChanged(true) will
always be called only after completing handling
onTopResumedActivityChanged(false) in previous top activity. This
allows for safely acquiring singleton resources in the system,
because the previous app should've already released those.

Bug: 117135575
Test: atest CtsActivityManagerDeviceTestCases:ActivityLifecycleTopResumedStateTests
Change-Id: Ica3e54fae1202db7a7af241b73b9988642fdb85b
parent 311af9ea
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment