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
Loading
Please register or sign in to comment