commit | 1828adfab2f15e0971dab629eca7585cbd9d47e2 | [log] [tgz] |
---|---|---|
author | Tiger Huang <tigerhuang@google.com> | Mon Feb 17 18:07:55 2020 +0800 |
committer | Tiger Huang <tigerhuang@google.com> | Mon Feb 17 18:27:58 2020 +0800 |
tree | 9aaec977448bee0f0967016e92c07426aebd4f69 | |
parent | 40fd197d0d8bb674d74f7190218a1708c048d20f [diff] |
Refactor AttachInfo.mGlobalSystemUiVisibility Move it to ViewRootImpl and rename it: mDispatchedSystemUiVisibility with default value 0 in the new insets mode instead of -1. Because mCompatibleVisibilityInfo.globalVisibility will always be updated in the new insets mode, we don't need the -1 value to detect the change from non-zero value to zero dispatched from the server. Bug: 118118435 Test: atest LayoutTests Change-Id: I45064bdcdca37b9a2b30d82bb9d9c84e45732029