Merge "Revert "Finish already paused activity if it should be finished after pausing"" into mnc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
26b0f1e420
@@ -2963,7 +2963,6 @@ final class ActivityStack {
|
|||||||
r.state = ActivityState.FINISHING;
|
r.state = ActivityState.FINISHING;
|
||||||
|
|
||||||
if (mode == FINISH_IMMEDIATELY
|
if (mode == FINISH_IMMEDIATELY
|
||||||
|| (mode == FINISH_AFTER_PAUSE && prevState == ActivityState.PAUSED)
|
|
||||||
|| prevState == ActivityState.STOPPED
|
|| prevState == ActivityState.STOPPED
|
||||||
|| prevState == ActivityState.INITIALIZING) {
|
|| prevState == ActivityState.INITIALIZING) {
|
||||||
// If this activity is already stopped, we can just finish
|
// If this activity is already stopped, we can just finish
|
||||||
|
|||||||
Reference in New Issue
Block a user