summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
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
commita9b8fa272c737f9e9af81b2fa3f70d7530976d03 (patch)
treeadab921d48a5ba92e89f11c1c326610319f4b3fc /libs
parenta7c40017ffea056c30143a40f350a800fdef228b (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 'libs')
-rw-r--r--libs/WindowManager/Shell/src/com/android/wm/shell/common/SystemWindows.java8
1 files changed, 2 insertions, 6 deletions
diff --git a/libs/WindowManager/Shell/src/com/android/wm/shell/common/SystemWindows.java b/libs/WindowManager/Shell/src/com/android/wm/shell/common/SystemWindows.java
index b4620e27e68c..84b98f9e8047 100644
--- a/libs/WindowManager/Shell/src/com/android/wm/shell/common/SystemWindows.java
+++ b/libs/WindowManager/Shell/src/com/android/wm/shell/common/SystemWindows.java
@@ -271,14 +271,14 @@ public class SystemWindows {
}
@Override
- public int relayout(IWindow window, int seq, WindowManager.LayoutParams attrs,
+ public int relayout(IWindow window, WindowManager.LayoutParams attrs,
int requestedWidth, int requestedHeight, int viewVisibility, int flags,
long frameNumber, ClientWindowFrames outFrames,
MergedConfiguration mergedConfiguration,
SurfaceControl outSurfaceControl, InsetsState outInsetsState,
InsetsSourceControl[] outActiveControls, Point outSurfaceSize,
SurfaceControl outBLASTSurfaceControl) {
- int res = super.relayout(window, seq, attrs, requestedWidth, requestedHeight,
+ int res = super.relayout(window, attrs, requestedWidth, requestedHeight,
viewVisibility, flags, frameNumber, outFrames,
mergedConfiguration, outSurfaceControl, outInsetsState,
outActiveControls, outSurfaceSize, outBLASTSurfaceControl);
@@ -365,10 +365,6 @@ public class SystemWindows {
public void updatePointerIcon(float x, float y) {}
@Override
- public void dispatchSystemUiVisibilityChanged(int seq, int globalVisibility,
- int localValue, int localChanges) {}
-
- @Override
public void dispatchWindowShown() {}
@Override