diff options
author | Tiger Huang <tigerhuang@google.com> | 2020-05-06 22:54:28 +0800 |
---|---|---|
committer | Tiger Huang <tigerhuang@google.com> | 2020-05-07 18:29:52 +0800 |
commit | eb5a5920b79e60d179751ca84167c15251548c39 (patch) | |
tree | 7f55609016a2301fc04bfe3448bc2b20cc74c148 /docs/html/sdk/api_diff/15 | |
parent | 28382c8f84e410285ca594b43f296e78526461fd (diff) |
Do not dispatch system UI visibility during traversal
Otherwise, mRecomputeGlobalAttributes set within the callbacks might be
cleared in the traversal.
This CL also prevents dispatching non-existing insets sources to the
client. For example, if a display doesn't have a navigation bar, the
insets state dispatched by window manager won't contain the navigation
bar source. So that WindowInsets.isVisible(ITYPE_NAVIGATION_BAR) returns
false on such display.
Fix: 155787445
Fix: 155796402
Test: atest WindowInsetsControllerTests InsetsAnimationControlImplTest
Change-Id: I3104191b34c08e14ffb31d7228c832a84629a97b
Diffstat (limited to 'docs/html/sdk/api_diff/15')
0 files changed, 0 insertions, 0 deletions