TaskFragmentParentInfo should be updated for LTR/RTL changes

Or the TaskFragment bounds won't updated accordingly when
the layout direction changes.

Bug: 230032056
Test: change between LTR/RTL languages
Change-Id: Ia19e7e5d36eeb82a3ad979aa3ca89cbe8c8871a5
This commit is contained in:
Louis Chang
2022-04-29 17:48:59 +08:00
parent a683c1ba94
commit 0403c0a31c

View File

@@ -113,7 +113,8 @@ class WindowOrganizerController extends IWindowOrganizerController.Stub
* will be filtered to only include these.
*/
static final int CONTROLLABLE_CONFIGS = ActivityInfo.CONFIG_WINDOW_CONFIGURATION
| ActivityInfo.CONFIG_SMALLEST_SCREEN_SIZE | ActivityInfo.CONFIG_SCREEN_SIZE;
| ActivityInfo.CONFIG_SMALLEST_SCREEN_SIZE | ActivityInfo.CONFIG_SCREEN_SIZE
| ActivityInfo.CONFIG_LAYOUT_DIRECTION;
static final int CONTROLLABLE_WINDOW_CONFIGS = WindowConfiguration.WINDOW_CONFIG_BOUNDS
| WindowConfiguration.WINDOW_CONFIG_APP_BOUNDS;