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

Disable freeze insets for non blast sync shell transition

The method shouldFreezeInsetsPosition was added for when display
rotation happens, if the rotated insets position is sent to client
before the rotation animation starts, the system bars will jump to
weird position temporally because the client side insets animation
runner is not a part of sync system.

But during freezing, it still has a race that after the start
transaction of transition is applied (no longer freeze), the new
position doesn't apply synchronously. Then the bars may flicker
after rotation animation starts.

Since the sync method of shell transition is going to switch to
non-blast version, just disable it and rely on the screenshot to
cover any temporary states.

Bug: 234585256
Test: atest TransitionTests#testDisplayRotationChange
Change-Id: I7499db22b1008820f7dcc62ce714eeb27f0fd674
parent 9fefe95b
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