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

Commit e29ccb0d authored by Dianne Hackborn's avatar Dianne Hackborn Committed by Android Git Automerger
Browse files

am b3a76660: am 78e62111: am fee88fdb: Merge "Issue: Foreground activity...

am b3a76660: am 78e62111: am fee88fdb: Merge "Issue: Foreground activity performs [Resume] and [Pause] when any process died in sleep mode."

* commit 'b3a76660':
  Issue: Foreground activity performs [Resume] and [Pause] when any process died in sleep mode.
parents 5c6d80c9 b3a76660
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -1378,7 +1378,10 @@ final class ActivityStack {
        // If we are sleeping, and there is no resumed activity, and the top
        // activity is paused, well that is the state we want.
        if ((mService.mSleeping || mService.mShuttingDown)
                && mLastPausedActivity == next && next.state == ActivityState.PAUSED) {
                && mLastPausedActivity == next
                && (next.state == ActivityState.PAUSED
                    || next.state == ActivityState.STOPPED
                    || next.state == ActivityState.STOPPING)) {
            // Make sure we have executed any pending transitions, since there
            // should be nothing left to do at this point.
            mService.mWindowManager.executeAppTransition();