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

Skip to content
Commit a37eec77 authored by Charles Chen's avatar Charles Chen
Browse files

Workaround for the case when task is letterboxed

There's a regression to make the task leash letterboxed in PIP animation
when enable_letterbox_translucent_activity is enabled even if the
activity matches parent.

This CL wordarounds to avoid overridding animation bounds if the task
is in size compat or letterboxed.

See b/376200414#comment6 to know how the transitions look like.

Bug: 376200414
Test: manual - 1. make activity to PIP mode
               2. rotate the device
	       3. restore the activity from PIP
Test: atest PipAnimationControllerTest -j
Flag: com.android.window.flags.better_support_non_match_parent_activity
Change-Id: I92f1bca121a574c07cdd4c1ebdf4b0e474a90c40
parent 1fed1764
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