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:
Wale Ogunwale
2015-07-14 00:20:21 +00:00
committed by Android Git Automerger

View File

@@ -2963,7 +2963,6 @@ final class ActivityStack {
r.state = ActivityState.FINISHING;
if (mode == FINISH_IMMEDIATELY
|| (mode == FINISH_AFTER_PAUSE && prevState == ActivityState.PAUSED)
|| prevState == ActivityState.STOPPED
|| prevState == ActivityState.INITIALIZING) {
// If this activity is already stopped, we can just finish