summaryrefslogtreecommitdiff
path: root/core/java/android/widget/TextView.java
diff options
context:
space:
mode:
authorTiger Huang <tigerhuang@google.com>2022-03-10 20:52:54 +0800
committerTiger Huang <tigerhuang@google.com>2022-03-10 21:44:52 +0800
commit66bc36a0e7a7d3de2fd02400949e779dd6a6656f (patch)
tree1d3e9d83c2ef085023d80680210f142ef0d2dc2c /core/java/android/widget/TextView.java
parenta345e5bd493f3b8f0f402c484eef25e00c337672 (diff)
Don't perform another layout after finishPostLayoutPolicyLw
If the visibility of any insets is changed, InsetsSourceProvider will post LAYOUT_AND_ASSIGN_WINDOW_LAYERS_IF_NEEDED, and we will perform layout there. The logic in finishPostLayoutPolicyLw only checks the visibility change of status bar, which doesn't cover all insets. We rely on LAYOUT_AND_ASSIGN_WINDOW_LAYERS_IF_NEEDED instead. This CL also moves the logic about topAppHidesStatusBar to updateSystemBarsLw, after updating mForceShowSystemBars, because it affects topAppHidesStatusBar. This is a step to move the window layout to the client side. Bug: 161810301 Test: Rotate Camera and see if it can play ROTATION_ANIMATION_SEAMLESS. Rotate Camera with notification shade expended and see if it can play ROTATION_ANIMATION_ROTATE. Change-Id: I94e06a99757fa97376d5644865728aa28c1d6883
Diffstat (limited to 'core/java/android/widget/TextView.java')
0 files changed, 0 insertions, 0 deletions