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

Commit ffd0da08 authored by Graciela Wissen Putri's avatar Graciela Wissen Putri
Browse files

Use original aspect ratio for unresizeable

Floating activity in size compat mode has bounds that are including
parent insets as they do not intersect. Aspect ratio in floating size
compat mode will not be the same as original activity aspect ratio.
Cache original aspect ratio in AppCompatDisplayInsets and use for
resolving intiial bounds if available.

Flag: com.android.window.flags.preserve_recents_task_configuration_on_relaunch
Fix: 402779827
Test: atest DesktopModeLaunchParamsModifierTests
      atest DesktopTasksControllerTest
Change-Id: Iff7e5b7afadb897b26b6afb3a657ea06931513f8
parent 8fee1444
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