Merge "Allow dreams to redraw when device is rotated." am: 91067eedbc am: 09ed955aa0
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2234689 Change-Id: I1fa7e25e8e70e6d061af0e733aa1a9b303dc795a Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -1441,6 +1441,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);
|
||||
|
||||
Reference in New Issue
Block a user