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

Commit 1d0fcb0f authored by Louis Chang's avatar Louis Chang Committed by Android (Google) Code Review
Browse files

Merge "Relaunching activity to PAUSE state" into udc-qpr-dev

parents d0c510f5 f7256f5d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -193,8 +193,8 @@ public class TransactionExecutorHelper {
        switch (prevState) {
            // TODO(lifecycler): Extend to support all possible states.
            case ON_START:
                lifecycleItem = StartActivityItem.obtain(null /* activityOptions */);
                break;
                // Fall through to return the PAUSE item to ensure the activity is properly
                // resumed while relaunching.
            case ON_PAUSE:
                lifecycleItem = PauseActivityItem.obtain();
                break;