Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 49636f6f authored by Graciela Putri's avatar Graciela Putri
Browse files

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
parent d7aec9a6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment