diff options
author | Yunfan Chen <yunfanc@google.com> | 2020-09-14 16:47:33 +0900 |
---|---|---|
committer | Yunfan Chen <yunfanc@google.com> | 2020-09-17 15:47:17 +0900 |
commit | 9913411b547ae5bf92233499a7a12e8faef6bee7 (patch) | |
tree | 18d88e2424692a5de726c0fbfe9890298682e5f7 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 4e8a7a8bcf3e24ba52a7e6e809f33e2a2f32bb38 (diff) |
Remove remaining insets system UI flags in DisplayPolicy
This patch is to remove all the remaining insets hidding and immersive
flags, including:
- SYSTEM_UI_FLAG_HIDE_NAVIGATION
- SYSTEM_UI_FLAG_FULLSCREEN
- SYSTEM_UI_FLAG_IMMERSIVE
- SYSTEM_UI_FLAG_IMMERSIVE_STICKY
Translucent and transparent flags are removed and the new appearance
flags are used instead. The removed flags are:
- View.STATUS_BAR_TRANSPARENT
- View.STATUS_BAR_TRANSLUCENT
BarController functions got removed, and the necessary channels for
informing System UI the insets state change got moved to DisplayPolicy
instead.
Flags are replaced with the new API's. Some necessary modifications are
made to support the new API.
layoutNavigationBar and layoutStatusBar will always return false,
removed dead code for it.
Test: go/wm-smoke
Test: atest DisplayPolicyTests
Test: atest DisplayPolicyLayoutTests
Test: atest DisplayPolicyInsetsTests
Bug: 155413635
Change-Id: I74404f2abe5df521e097f7d7b2bb7cc93ea9328c
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions