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

Commit cb5cd880 authored by Riddle Hsu's avatar Riddle Hsu
Browse files

Apply right animation style on closing translucent task

It should use R.anim.activity_translucent_close_exit instead of
R.anim.task_close_exit.
This is similar to I97c5220b9fe3fde33e1426c8fc2598410fad3735.

Also ignore visibleIgnoringKeyguard when resolving FLAG_TRANSLUCENT
for transition. Otherwise a closing opaque activity may be misjudged
as translucent. This aligns the same behavior as legacy
AppTransitionController#getTransitCompatType that only
checks fillsParent().

Fix: 278786253
Test: TransitionTests
Test: Close a translucent task.
      It should not be x-axis task animation.
Change-Id: Idb3a78d00ece7b5ec0d3e2d4c2957f489c816b03
parent dfc317e1
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