From 827616c946feee8453a647913ef02f6d2fa16558 Mon Sep 17 00:00:00 2001 From: Riddle Hsu Date: Wed, 7 Feb 2024 23:05:13 +0800 Subject: [PATCH] Make recents activity follow the orientation of activity behind Since shell transition, recents activity will be moved to top for recents animation if default home is not recents. And because top activity is able to affect display orientation. Then the appearance may not look smooth by the orientation change. Bug: 308639215 Test: Enable auto rotation. Set a 3rd party portrait home. Enter recents by gesture from home. The overview should show the same orientation as home. Change-Id: I36cce1438bef2d2b472b10eebfe00fd3e86eb308 --- quickstep/AndroidManifest.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quickstep/AndroidManifest.xml b/quickstep/AndroidManifest.xml index db46508385..56b5bc26f5 100644 --- a/quickstep/AndroidManifest.xml +++ b/quickstep/AndroidManifest.xml @@ -73,7 +73,7 @@ android:clearTaskOnLaunch="true" android:stateNotNeeded="true" android:theme="@style/LauncherTheme" - android:screenOrientation="unspecified" + android:screenOrientation="behind" android:configChanges="keyboard|keyboardHidden|mcc|mnc|navigation|orientation|screenSize|screenLayout|smallestScreenSize" android:resizeableActivity="true" android:resumeWhilePausing="true"