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

Commit bbde7bc1 authored by Andrii Kulian's avatar Andrii Kulian Committed by android-build-merger
Browse files

Merge "Allow force resize message activity to be resumed" into oc-dev am: 8cb56d90

am: 1f06e458

Change-Id: I48b02adeb9da4c7c3f0149812fd44ffbd2eb45f1
parents e6bd7719 1f06e458
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -142,7 +142,9 @@ public class ForcedResizableInfoActivityController {
            Intent intent = new Intent(mContext, ForcedResizableInfoActivity.class);
            ActivityOptions options = ActivityOptions.makeBasic();
            options.setLaunchTaskId(pendingRecord.taskId);
            options.setTaskOverlay(true, false /* canResume */);
            // Set as task overlay and allow to resume, so that when an app enters split-screen and
            // becomes paused, the overlay will still be shown.
            options.setTaskOverlay(true, true /* canResume */);
            intent.putExtra(EXTRA_FORCED_RESIZEABLE_REASON, pendingRecord.reason);
            mContext.startActivityAsUser(intent, options.toBundle(), UserHandle.CURRENT);
        }