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

Commit 327adf87 authored by Lucas Silva's avatar Lucas Silva Committed by Android (Google) Code Review
Browse files

Merge "Allow multiple instances of DreamActivity to be launched" into main

parents 0ff7cfa4 b880f2f7
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -1503,7 +1503,8 @@ public class ActivityTaskManagerService extends IActivityTaskManager.Stub {
        a.configChanges = 0xffffffff;
        a.configChanges = 0xffffffff;


        if (homePanelDream()) {
        if (homePanelDream()) {
            a.launchMode = ActivityInfo.LAUNCH_SINGLE_TASK;
            a.launchMode = ActivityInfo.LAUNCH_MULTIPLE;
            a.documentLaunchMode = ActivityInfo.DOCUMENT_LAUNCH_ALWAYS;
        } else {
        } else {
            a.resizeMode = RESIZE_MODE_UNRESIZEABLE;
            a.resizeMode = RESIZE_MODE_UNRESIZEABLE;
            a.launchMode = ActivityInfo.LAUNCH_SINGLE_INSTANCE;
            a.launchMode = ActivityInfo.LAUNCH_SINGLE_INSTANCE;