diff options
| author | Tiger Huang <tigerhuang@google.com> | 2020-09-23 01:19:19 +0800 |
|---|---|---|
| committer | Tiger Huang <tigerhuang@google.com> | 2020-09-28 02:04:21 +0800 |
| commit | a9b8fa272c737f9e9af81b2fa3f70d7530976d03 (patch) | |
| tree | adab921d48a5ba92e89f11c1c326610319f4b3fc /core/java/android/view/InsetsController.java | |
| parent | a7c40017ffea056c30143a40f350a800fdef228b (diff) | |
Remove redundant logic about System UI visibility
This CL removes
- mSeq
- System UI flags used to communicate between WMS and System UI
- redundant AIDL methods
- redundant fields and methods
- redundant tests
- PolicyControl
This CL also
- refines the format in DisplayPolicy#dump
- sends a boolean to InputManager to indicate if System UI is in a low
profile mode instead of sending the legacy system UI visibility
Bug: 149813814
Fix: 169105126
Test: presubmit
Test: dumpsys window displays
Test: See if the layout of ImmersiveModeConfirmation is as expected
Change-Id: I8c8df509355bebc9b560af57d5458614557bcd2f
Diffstat (limited to 'core/java/android/view/InsetsController.java')
| -rw-r--r-- | core/java/android/view/InsetsController.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/view/InsetsController.java b/core/java/android/view/InsetsController.java index 92eade3affaa..b438f8f0b1dd 100644 --- a/core/java/android/view/InsetsController.java +++ b/core/java/android/view/InsetsController.java @@ -1388,7 +1388,7 @@ public class InsetsController implements WindowInsetsController, InsetsAnimation } @Override - public @Appearance int getSystemBarsBehavior() { + public @Behavior int getSystemBarsBehavior() { return mHost.getSystemBarsBehavior(); } |
