Merge "Allow dreams to redraw when device is rotated." into tm-qpr-dev am: 63af7acedd
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19641216 Change-Id: Ifaca98114d7dac91a48a6d9fb00dde78b0173248 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -1486,6 +1486,7 @@ public class ActivityTaskManagerService extends IActivityTaskManager.Stub {
|
|||||||
a.colorMode = ActivityInfo.COLOR_MODE_DEFAULT;
|
a.colorMode = ActivityInfo.COLOR_MODE_DEFAULT;
|
||||||
a.flags |= ActivityInfo.FLAG_EXCLUDE_FROM_RECENTS;
|
a.flags |= ActivityInfo.FLAG_EXCLUDE_FROM_RECENTS;
|
||||||
a.resizeMode = RESIZE_MODE_UNRESIZEABLE;
|
a.resizeMode = RESIZE_MODE_UNRESIZEABLE;
|
||||||
|
a.configChanges = ActivityInfo.CONFIG_ORIENTATION;
|
||||||
|
|
||||||
final ActivityOptions options = ActivityOptions.makeBasic();
|
final ActivityOptions options = ActivityOptions.makeBasic();
|
||||||
options.setLaunchActivityType(ACTIVITY_TYPE_DREAM);
|
options.setLaunchActivityType(ACTIVITY_TYPE_DREAM);
|
||||||
|
|||||||
Reference in New Issue
Block a user