am d91f9c7e: am 6ede9b67: am 26b0f1e4: Merge "Revert "Finish already paused activity if it should be finished after pausing"" into mnc-dev
* commit 'd91f9c7e996241060a7503461e44e4e6787611dd': Revert "Finish already paused activity if it should be finished after pausing"
This commit is contained in:
@@ -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