diff options
| author | 2025-03-17 03:46:08 -0700 | |
|---|---|---|
| committer | 2025-03-17 03:46:08 -0700 | |
| commit | 49636f6fdf1193fa06bde7b32f154a2c5543fb37 (patch) | |
| tree | 38f674820754a63c4461ca279d30d7f014b52f07 /api/api_test.go | |
| parent | d7aec9a65058f64e3b6bd1187c60e38b7f2dc02c (diff) | |
Consolidate task resizable definition with activity
In ActivityRecord, the activity can be forced resizable with:
1. Device manufacturer sets force resize override for the app
2. Device manufacturer sets fullscreen override for the app
3. User sets the app to be resizable with the fullscreen override
4. Activity is universal resizeable (targetSDK >= 36, isLargeScreen
device and not Category.GAME).
And device manufacturer can also set the app to be non-resizable with
FORCE_NON_RESIZE.
By definition, this should also affect task resizability, and allow app
to enter multi-window mode if resizability has been overridden. To
consolidate resizability definition, if the root activity has been
overridden and app has not opted out from the override, task
resizability should respect the overrides.
Flag: EXEMPT bug fix
Fix: 364878310
Test: atest TaskTests
atest WindowOrganizerTests
Change-Id: I151bc1b26dc0fa08e07335b4ec8cac89ea096e48
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions