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

Skip to content
Commit d60d9b88 authored by Riddle Hsu's avatar Riddle Hsu
Browse files

Consider shell transition to update display mode

This continues the purpose of [1] for shell transition. Because
"isAnimating(TRANSITION | PARENTS)" cannot detect the transition
animation which will run by shell.

Also simplify isObscuringDisplay because the split root task can be
fullscreen, but the window in the child task is not, then the condition
can return earlier.

[1]: I5b3ddbc8278a95b4c5239812b2c4a293775c740a

Fix: 267365057
Test: RefreshRatePolicyTest#testAnimatingAppOverridePreferredModeId
Test: Assume device enables 120Hz, launch an app that requests 60Hz.
      And then swipe-up, the animation should run in 120Hz.
Change-Id: I4baba6441dee0dc26ab35456ab916672d69914d9
parent f558dd2d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment