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

Commit 63af7ace authored by Victor Truong's avatar Victor Truong Committed by Android (Google) Code Review
Browse files

Merge "Allow dreams to redraw when device is rotated." into tm-qpr-dev

parents 8dfa3f09 262ef7cf
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1486,6 +1486,7 @@ public class ActivityTaskManagerService extends IActivityTaskManager.Stub {
        a.colorMode = ActivityInfo.COLOR_MODE_DEFAULT;
        a.flags |= ActivityInfo.FLAG_EXCLUDE_FROM_RECENTS;
        a.resizeMode = RESIZE_MODE_UNRESIZEABLE;
        a.configChanges = ActivityInfo.CONFIG_ORIENTATION;

        final ActivityOptions options = ActivityOptions.makeBasic();
        options.setLaunchActivityType(ACTIVITY_TYPE_DREAM);