Merge "Refine WindowInsets logs" into sc-v2-dev am: 964abd77da
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15716099 Change-Id: Iee4966a59e7877af03ae68ae4e5bd451c586316b
This commit is contained in:
@@ -185,6 +185,15 @@ public class InsetsSourceControl implements Parcelable {
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
return "InsetsSourceControl: {"
|
||||||
|
+ "type=" + InsetsState.typeToString(mType)
|
||||||
|
+ ", mSurfacePosition=" + mSurfacePosition
|
||||||
|
+ ", mInsetsHint=" + mInsetsHint
|
||||||
|
+ "}";
|
||||||
|
}
|
||||||
|
|
||||||
public void dump(String prefix, PrintWriter pw) {
|
public void dump(String prefix, PrintWriter pw) {
|
||||||
pw.print(prefix);
|
pw.print(prefix);
|
||||||
pw.print("InsetsSourceControl type="); pw.print(InsetsState.typeToString(mType));
|
pw.print("InsetsSourceControl type="); pw.print(InsetsState.typeToString(mType));
|
||||||
|
|||||||
@@ -80,6 +80,8 @@ public enum ProtoLogGroup implements IProtoLogGroup {
|
|||||||
Consts.TAG_WM),
|
Consts.TAG_WM),
|
||||||
WM_DEBUG_WINDOW_TRANSITIONS(Consts.ENABLE_DEBUG, Consts.ENABLE_LOG_TO_PROTO_DEBUG, true,
|
WM_DEBUG_WINDOW_TRANSITIONS(Consts.ENABLE_DEBUG, Consts.ENABLE_LOG_TO_PROTO_DEBUG, true,
|
||||||
Consts.TAG_WM),
|
Consts.TAG_WM),
|
||||||
|
WM_DEBUG_WINDOW_INSETS(Consts.ENABLE_DEBUG, Consts.ENABLE_LOG_TO_PROTO_DEBUG, false,
|
||||||
|
Consts.TAG_WM),
|
||||||
TEST_GROUP(true, true, false, "WindowManagerProtoLogTest");
|
TEST_GROUP(true, true, false, "WindowManagerProtoLogTest");
|
||||||
|
|
||||||
private final boolean mEnabled;
|
private final boolean mEnabled;
|
||||||
|
|||||||
@@ -571,6 +571,12 @@
|
|||||||
"group": "WM_DEBUG_CONFIGURATION",
|
"group": "WM_DEBUG_CONFIGURATION",
|
||||||
"at": "com\/android\/server\/wm\/ActivityStarter.java"
|
"at": "com\/android\/server\/wm\/ActivityStarter.java"
|
||||||
},
|
},
|
||||||
|
"-1483435730": {
|
||||||
|
"message": "InsetsSource setWin %s for type %s",
|
||||||
|
"level": "DEBUG",
|
||||||
|
"group": "WM_DEBUG_WINDOW_INSETS",
|
||||||
|
"at": "com\/android\/server\/wm\/InsetsSourceProvider.java"
|
||||||
|
},
|
||||||
"-1480772131": {
|
"-1480772131": {
|
||||||
"message": "No app or window is requesting an orientation, return %d for display id=%d",
|
"message": "No app or window is requesting an orientation, return %d for display id=%d",
|
||||||
"level": "VERBOSE",
|
"level": "VERBOSE",
|
||||||
@@ -673,6 +679,12 @@
|
|||||||
"group": "WM_DEBUG_IME",
|
"group": "WM_DEBUG_IME",
|
||||||
"at": "com\/android\/server\/wm\/ImeInsetsSourceProvider.java"
|
"at": "com\/android\/server\/wm\/ImeInsetsSourceProvider.java"
|
||||||
},
|
},
|
||||||
|
"-1394745488": {
|
||||||
|
"message": "ControlAdapter onAnimationCancelled mSource: %s mControlTarget: %s",
|
||||||
|
"level": "INFO",
|
||||||
|
"group": "WM_DEBUG_WINDOW_INSETS",
|
||||||
|
"at": "com\/android\/server\/wm\/InsetsSourceProvider.java"
|
||||||
|
},
|
||||||
"-1391944764": {
|
"-1391944764": {
|
||||||
"message": "SURFACE DESTROY: %s. %s",
|
"message": "SURFACE DESTROY: %s. %s",
|
||||||
"level": "INFO",
|
"level": "INFO",
|
||||||
@@ -721,12 +733,6 @@
|
|||||||
"group": "WM_DEBUG_STARTING_WINDOW",
|
"group": "WM_DEBUG_STARTING_WINDOW",
|
||||||
"at": "com\/android\/server\/wm\/ActivityRecord.java"
|
"at": "com\/android\/server\/wm\/ActivityRecord.java"
|
||||||
},
|
},
|
||||||
"-1312861660": {
|
|
||||||
"message": "notifyInsetsControlChanged for %s ",
|
|
||||||
"level": "DEBUG",
|
|
||||||
"group": "WM_DEBUG_IME",
|
|
||||||
"at": "com\/android\/server\/wm\/WindowState.java"
|
|
||||||
},
|
|
||||||
"-1311436264": {
|
"-1311436264": {
|
||||||
"message": "Unregister task fragment organizer=%s uid=%d pid=%d",
|
"message": "Unregister task fragment organizer=%s uid=%d pid=%d",
|
||||||
"level": "VERBOSE",
|
"level": "VERBOSE",
|
||||||
@@ -835,6 +841,12 @@
|
|||||||
"group": "WM_DEBUG_STATES",
|
"group": "WM_DEBUG_STATES",
|
||||||
"at": "com\/android\/server\/wm\/TaskFragment.java"
|
"at": "com\/android\/server\/wm\/TaskFragment.java"
|
||||||
},
|
},
|
||||||
|
"-1185473319": {
|
||||||
|
"message": "ControlAdapter startAnimation mSource: %s controlTarget: %s",
|
||||||
|
"level": "INFO",
|
||||||
|
"group": "WM_DEBUG_WINDOW_INSETS",
|
||||||
|
"at": "com\/android\/server\/wm\/InsetsSourceProvider.java"
|
||||||
|
},
|
||||||
"-1176488860": {
|
"-1176488860": {
|
||||||
"message": "SURFACE isSecure=%b: %s",
|
"message": "SURFACE isSecure=%b: %s",
|
||||||
"level": "INFO",
|
"level": "INFO",
|
||||||
@@ -1531,12 +1543,6 @@
|
|||||||
"group": "WM_DEBUG_TASKS",
|
"group": "WM_DEBUG_TASKS",
|
||||||
"at": "com\/android\/server\/wm\/RootWindowContainer.java"
|
"at": "com\/android\/server\/wm\/RootWindowContainer.java"
|
||||||
},
|
},
|
||||||
"-395922585": {
|
|
||||||
"message": "InsetsSource setWin %s",
|
|
||||||
"level": "DEBUG",
|
|
||||||
"group": "WM_DEBUG_IME",
|
|
||||||
"at": "com\/android\/server\/wm\/InsetsSourceProvider.java"
|
|
||||||
},
|
|
||||||
"-393505149": {
|
"-393505149": {
|
||||||
"message": "unable to update pointer icon",
|
"message": "unable to update pointer icon",
|
||||||
"level": "WARN",
|
"level": "WARN",
|
||||||
@@ -1741,12 +1747,6 @@
|
|||||||
"group": "WM_DEBUG_SCREEN_ON",
|
"group": "WM_DEBUG_SCREEN_ON",
|
||||||
"at": "com\/android\/server\/wm\/WindowManagerService.java"
|
"at": "com\/android\/server\/wm\/WindowManagerService.java"
|
||||||
},
|
},
|
||||||
"-112805366": {
|
|
||||||
"message": "InsetsSource updateVisibility serverVisible: %s clientVisible: %s",
|
|
||||||
"level": "DEBUG",
|
|
||||||
"group": "WM_DEBUG_IME",
|
|
||||||
"at": "com\/android\/server\/wm\/InsetsSourceProvider.java"
|
|
||||||
},
|
|
||||||
"-108977760": {
|
"-108977760": {
|
||||||
"message": "Sandbox max bounds for uid %s to bounds %s. config to never sandbox = %s, config to always sandbox = %s, letterboxing from mismatch with parent bounds = %s, has mCompatDisplayInsets = %s, should create compatDisplayInsets = %s",
|
"message": "Sandbox max bounds for uid %s to bounds %s. config to never sandbox = %s, config to always sandbox = %s, letterboxing from mismatch with parent bounds = %s, has mCompatDisplayInsets = %s, should create compatDisplayInsets = %s",
|
||||||
"level": "DEBUG",
|
"level": "DEBUG",
|
||||||
@@ -1849,12 +1849,6 @@
|
|||||||
"group": "WM_DEBUG_RECENTS_ANIMATIONS",
|
"group": "WM_DEBUG_RECENTS_ANIMATIONS",
|
||||||
"at": "com\/android\/server\/wm\/RecentsAnimationController.java"
|
"at": "com\/android\/server\/wm\/RecentsAnimationController.java"
|
||||||
},
|
},
|
||||||
"29780972": {
|
|
||||||
"message": "InsetsSource Control %s for target %s",
|
|
||||||
"level": "DEBUG",
|
|
||||||
"group": "WM_DEBUG_IME",
|
|
||||||
"at": "com\/android\/server\/wm\/InsetsSourceProvider.java"
|
|
||||||
},
|
|
||||||
"35398067": {
|
"35398067": {
|
||||||
"message": "goodToGo(): onAnimationStart, transit=%s, apps=%d, wallpapers=%d, nonApps=%d",
|
"message": "goodToGo(): onAnimationStart, transit=%s, apps=%d, wallpapers=%d, nonApps=%d",
|
||||||
"level": "DEBUG",
|
"level": "DEBUG",
|
||||||
@@ -1897,24 +1891,12 @@
|
|||||||
"group": "WM_DEBUG_TASKS",
|
"group": "WM_DEBUG_TASKS",
|
||||||
"at": "com\/android\/server\/wm\/RootWindowContainer.java"
|
"at": "com\/android\/server\/wm\/RootWindowContainer.java"
|
||||||
},
|
},
|
||||||
"73987756": {
|
|
||||||
"message": "ControlAdapter onAnimationCancelled mSource: %s mControlTarget: %s",
|
|
||||||
"level": "INFO",
|
|
||||||
"group": "WM_DEBUG_IME",
|
|
||||||
"at": "com\/android\/server\/wm\/InsetsSourceProvider.java"
|
|
||||||
},
|
|
||||||
"74885950": {
|
"74885950": {
|
||||||
"message": "Waiting for top state to be released by %s",
|
"message": "Waiting for top state to be released by %s",
|
||||||
"level": "VERBOSE",
|
"level": "VERBOSE",
|
||||||
"group": "WM_DEBUG_STATES",
|
"group": "WM_DEBUG_STATES",
|
||||||
"at": "com\/android\/server\/wm\/ActivityTaskSupervisor.java"
|
"at": "com\/android\/server\/wm\/ActivityTaskSupervisor.java"
|
||||||
},
|
},
|
||||||
"75707221": {
|
|
||||||
"message": "ControlAdapter startAnimation mSource: %s controlTarget: %s",
|
|
||||||
"level": "INFO",
|
|
||||||
"group": "WM_DEBUG_IME",
|
|
||||||
"at": "com\/android\/server\/wm\/InsetsSourceProvider.java"
|
|
||||||
},
|
|
||||||
"83950285": {
|
"83950285": {
|
||||||
"message": "removeAnimation(%d)",
|
"message": "removeAnimation(%d)",
|
||||||
"level": "DEBUG",
|
"level": "DEBUG",
|
||||||
@@ -2287,6 +2269,12 @@
|
|||||||
"group": "WM_SHOW_SURFACE_ALLOC",
|
"group": "WM_SHOW_SURFACE_ALLOC",
|
||||||
"at": "com\/android\/server\/wm\/RootWindowContainer.java"
|
"at": "com\/android\/server\/wm\/RootWindowContainer.java"
|
||||||
},
|
},
|
||||||
|
"416924848": {
|
||||||
|
"message": "InsetsSource Control %s for target %s",
|
||||||
|
"level": "DEBUG",
|
||||||
|
"group": "WM_DEBUG_WINDOW_INSETS",
|
||||||
|
"at": "com\/android\/server\/wm\/InsetsSourceProvider.java"
|
||||||
|
},
|
||||||
"417311568": {
|
"417311568": {
|
||||||
"message": "onResize: Resizing %s",
|
"message": "onResize: Resizing %s",
|
||||||
"level": "DEBUG",
|
"level": "DEBUG",
|
||||||
@@ -2803,6 +2791,12 @@
|
|||||||
"group": "WM_DEBUG_STATES",
|
"group": "WM_DEBUG_STATES",
|
||||||
"at": "com\/android\/server\/wm\/ActivityRecord.java"
|
"at": "com\/android\/server\/wm\/ActivityRecord.java"
|
||||||
},
|
},
|
||||||
|
"1030898920": {
|
||||||
|
"message": "notifyInsetsControlChanged for %s ",
|
||||||
|
"level": "DEBUG",
|
||||||
|
"group": "WM_DEBUG_WINDOW_INSETS",
|
||||||
|
"at": "com\/android\/server\/wm\/WindowState.java"
|
||||||
|
},
|
||||||
"1033274509": {
|
"1033274509": {
|
||||||
"message": "moveWindowTokenToDisplay: Attempted to move non-existing token: %s",
|
"message": "moveWindowTokenToDisplay: Attempted to move non-existing token: %s",
|
||||||
"level": "WARN",
|
"level": "WARN",
|
||||||
@@ -2821,6 +2815,12 @@
|
|||||||
"group": "WM_ERROR",
|
"group": "WM_ERROR",
|
||||||
"at": "com\/android\/server\/wm\/WindowManagerService.java"
|
"at": "com\/android\/server\/wm\/WindowManagerService.java"
|
||||||
},
|
},
|
||||||
|
"1047505501": {
|
||||||
|
"message": "notifyInsetsChanged for %s ",
|
||||||
|
"level": "DEBUG",
|
||||||
|
"group": "WM_DEBUG_WINDOW_INSETS",
|
||||||
|
"at": "com\/android\/server\/wm\/WindowState.java"
|
||||||
|
},
|
||||||
"1047769218": {
|
"1047769218": {
|
||||||
"message": "Finishing activity r=%s, result=%d, data=%s, reason=%s",
|
"message": "Finishing activity r=%s, result=%d, data=%s, reason=%s",
|
||||||
"level": "VERBOSE",
|
"level": "VERBOSE",
|
||||||
@@ -3211,12 +3211,6 @@
|
|||||||
"group": "WM_DEBUG_APP_TRANSITIONS",
|
"group": "WM_DEBUG_APP_TRANSITIONS",
|
||||||
"at": "com\/android\/server\/wm\/ActivityRecord.java"
|
"at": "com\/android\/server\/wm\/ActivityRecord.java"
|
||||||
},
|
},
|
||||||
"1533154777": {
|
|
||||||
"message": "notifyInsetsChanged for %s ",
|
|
||||||
"level": "DEBUG",
|
|
||||||
"group": "WM_DEBUG_IME",
|
|
||||||
"at": "com\/android\/server\/wm\/WindowState.java"
|
|
||||||
},
|
|
||||||
"1557732761": {
|
"1557732761": {
|
||||||
"message": "For Intent %s bringing to top: %s",
|
"message": "For Intent %s bringing to top: %s",
|
||||||
"level": "DEBUG",
|
"level": "DEBUG",
|
||||||
@@ -3643,6 +3637,12 @@
|
|||||||
"group": "WM_ERROR",
|
"group": "WM_ERROR",
|
||||||
"at": "com\/android\/server\/wm\/WindowManagerService.java"
|
"at": "com\/android\/server\/wm\/WindowManagerService.java"
|
||||||
},
|
},
|
||||||
|
"2070726247": {
|
||||||
|
"message": "InsetsSource updateVisibility for %s, serverVisible: %s clientVisible: %s",
|
||||||
|
"level": "DEBUG",
|
||||||
|
"group": "WM_DEBUG_WINDOW_INSETS",
|
||||||
|
"at": "com\/android\/server\/wm\/InsetsSourceProvider.java"
|
||||||
|
},
|
||||||
"2083556954": {
|
"2083556954": {
|
||||||
"message": "Set mOrientationChanging of %s",
|
"message": "Set mOrientationChanging of %s",
|
||||||
"level": "VERBOSE",
|
"level": "VERBOSE",
|
||||||
@@ -3768,6 +3768,9 @@
|
|||||||
"WM_DEBUG_TASKS": {
|
"WM_DEBUG_TASKS": {
|
||||||
"tag": "WindowManager"
|
"tag": "WindowManager"
|
||||||
},
|
},
|
||||||
|
"WM_DEBUG_WINDOW_INSETS": {
|
||||||
|
"tag": "WindowManager"
|
||||||
|
},
|
||||||
"WM_DEBUG_WINDOW_MOVEMENT": {
|
"WM_DEBUG_WINDOW_MOVEMENT": {
|
||||||
"tag": "WindowManager"
|
"tag": "WindowManager"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ import static android.view.InsetsState.ITYPE_IME;
|
|||||||
import static android.view.InsetsState.ITYPE_NAVIGATION_BAR;
|
import static android.view.InsetsState.ITYPE_NAVIGATION_BAR;
|
||||||
import static android.view.InsetsState.ITYPE_STATUS_BAR;
|
import static android.view.InsetsState.ITYPE_STATUS_BAR;
|
||||||
|
|
||||||
import static com.android.internal.protolog.ProtoLogGroup.WM_DEBUG_IME;
|
import static com.android.internal.protolog.ProtoLogGroup.WM_DEBUG_WINDOW_INSETS;
|
||||||
import static com.android.server.wm.InsetsSourceProviderProto.CAPTURED_LEASH;
|
import static com.android.server.wm.InsetsSourceProviderProto.CAPTURED_LEASH;
|
||||||
import static com.android.server.wm.InsetsSourceProviderProto.CLIENT_VISIBLE;
|
import static com.android.server.wm.InsetsSourceProviderProto.CLIENT_VISIBLE;
|
||||||
import static com.android.server.wm.InsetsSourceProviderProto.CONTROL;
|
import static com.android.server.wm.InsetsSourceProviderProto.CONTROL;
|
||||||
@@ -164,7 +164,8 @@ class InsetsSourceProvider {
|
|||||||
mWin.cancelAnimation();
|
mWin.cancelAnimation();
|
||||||
mWin.mProvidedInsetsSources.remove(mSource.getType());
|
mWin.mProvidedInsetsSources.remove(mSource.getType());
|
||||||
}
|
}
|
||||||
ProtoLog.d(WM_DEBUG_IME, "InsetsSource setWin %s", win);
|
ProtoLog.d(WM_DEBUG_WINDOW_INSETS, "InsetsSource setWin %s for type %s", win,
|
||||||
|
InsetsState.typeToString(mSource.getType()));
|
||||||
mWin = win;
|
mWin = win;
|
||||||
mFrameProvider = frameProvider;
|
mFrameProvider = frameProvider;
|
||||||
mImeFrameProvider = imeFrameProvider;
|
mImeFrameProvider = imeFrameProvider;
|
||||||
@@ -343,7 +344,7 @@ class InsetsSourceProvider {
|
|||||||
updateVisibility();
|
updateVisibility();
|
||||||
mControl = new InsetsSourceControl(mSource.getType(), leash, surfacePosition,
|
mControl = new InsetsSourceControl(mSource.getType(), leash, surfacePosition,
|
||||||
mSource.calculateInsets(mWin.getBounds(), true /* ignoreVisibility */));
|
mSource.calculateInsets(mWin.getBounds(), true /* ignoreVisibility */));
|
||||||
ProtoLog.d(WM_DEBUG_IME,
|
ProtoLog.d(WM_DEBUG_WINDOW_INSETS,
|
||||||
"InsetsSource Control %s for target %s", mControl, mControlTarget);
|
"InsetsSource Control %s for target %s", mControl, mControlTarget);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -392,8 +393,9 @@ class InsetsSourceProvider {
|
|||||||
|
|
||||||
protected void updateVisibility() {
|
protected void updateVisibility() {
|
||||||
mSource.setVisible(mServerVisible && (isMirroredSource() || mClientVisible));
|
mSource.setVisible(mServerVisible && (isMirroredSource() || mClientVisible));
|
||||||
ProtoLog.d(WM_DEBUG_IME,
|
ProtoLog.d(WM_DEBUG_WINDOW_INSETS,
|
||||||
"InsetsSource updateVisibility serverVisible: %s clientVisible: %s",
|
"InsetsSource updateVisibility for %s, serverVisible: %s clientVisible: %s",
|
||||||
|
InsetsState.typeToString(mSource.getType()),
|
||||||
mServerVisible, mClientVisible);
|
mServerVisible, mClientVisible);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -539,7 +541,7 @@ class InsetsSourceProvider {
|
|||||||
t.setAlpha(animationLeash, 1 /* alpha */);
|
t.setAlpha(animationLeash, 1 /* alpha */);
|
||||||
t.hide(animationLeash);
|
t.hide(animationLeash);
|
||||||
}
|
}
|
||||||
ProtoLog.i(WM_DEBUG_IME,
|
ProtoLog.i(WM_DEBUG_WINDOW_INSETS,
|
||||||
"ControlAdapter startAnimation mSource: %s controlTarget: %s", mSource,
|
"ControlAdapter startAnimation mSource: %s controlTarget: %s", mSource,
|
||||||
mControlTarget);
|
mControlTarget);
|
||||||
|
|
||||||
@@ -555,7 +557,7 @@ class InsetsSourceProvider {
|
|||||||
mControlTarget = null;
|
mControlTarget = null;
|
||||||
mAdapter = null;
|
mAdapter = null;
|
||||||
setClientVisible(InsetsState.getDefaultVisibility(mSource.getType()));
|
setClientVisible(InsetsState.getDefaultVisibility(mSource.getType()));
|
||||||
ProtoLog.i(WM_DEBUG_IME,
|
ProtoLog.i(WM_DEBUG_WINDOW_INSETS,
|
||||||
"ControlAdapter onAnimationCancelled mSource: %s mControlTarget: %s",
|
"ControlAdapter onAnimationCancelled mSource: %s mControlTarget: %s",
|
||||||
mSource, mControlTarget);
|
mSource, mControlTarget);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -114,10 +114,10 @@ import static com.android.internal.protolog.ProtoLogGroup.WM_DEBUG_ADD_REMOVE;
|
|||||||
import static com.android.internal.protolog.ProtoLogGroup.WM_DEBUG_APP_TRANSITIONS;
|
import static com.android.internal.protolog.ProtoLogGroup.WM_DEBUG_APP_TRANSITIONS;
|
||||||
import static com.android.internal.protolog.ProtoLogGroup.WM_DEBUG_FOCUS;
|
import static com.android.internal.protolog.ProtoLogGroup.WM_DEBUG_FOCUS;
|
||||||
import static com.android.internal.protolog.ProtoLogGroup.WM_DEBUG_FOCUS_LIGHT;
|
import static com.android.internal.protolog.ProtoLogGroup.WM_DEBUG_FOCUS_LIGHT;
|
||||||
import static com.android.internal.protolog.ProtoLogGroup.WM_DEBUG_IME;
|
|
||||||
import static com.android.internal.protolog.ProtoLogGroup.WM_DEBUG_ORIENTATION;
|
import static com.android.internal.protolog.ProtoLogGroup.WM_DEBUG_ORIENTATION;
|
||||||
import static com.android.internal.protolog.ProtoLogGroup.WM_DEBUG_RESIZE;
|
import static com.android.internal.protolog.ProtoLogGroup.WM_DEBUG_RESIZE;
|
||||||
import static com.android.internal.protolog.ProtoLogGroup.WM_DEBUG_STARTING_WINDOW;
|
import static com.android.internal.protolog.ProtoLogGroup.WM_DEBUG_STARTING_WINDOW;
|
||||||
|
import static com.android.internal.protolog.ProtoLogGroup.WM_DEBUG_WINDOW_INSETS;
|
||||||
import static com.android.server.am.ActivityManagerService.MY_PID;
|
import static com.android.server.am.ActivityManagerService.MY_PID;
|
||||||
import static com.android.server.policy.WindowManagerPolicy.FINISH_LAYOUT_REDO_WALLPAPER;
|
import static com.android.server.policy.WindowManagerPolicy.FINISH_LAYOUT_REDO_WALLPAPER;
|
||||||
import static com.android.server.policy.WindowManagerPolicy.TRANSIT_ENTER;
|
import static com.android.server.policy.WindowManagerPolicy.TRANSIT_ENTER;
|
||||||
@@ -3985,7 +3985,7 @@ class WindowState extends WindowContainer<WindowState> implements WindowManagerP
|
|||||||
* Called when the insets state changed.
|
* Called when the insets state changed.
|
||||||
*/
|
*/
|
||||||
void notifyInsetsChanged() {
|
void notifyInsetsChanged() {
|
||||||
ProtoLog.d(WM_DEBUG_IME, "notifyInsetsChanged for %s ", this);
|
ProtoLog.d(WM_DEBUG_WINDOW_INSETS, "notifyInsetsChanged for %s ", this);
|
||||||
try {
|
try {
|
||||||
mClient.insetsChanged(getCompatInsetsState(),
|
mClient.insetsChanged(getCompatInsetsState(),
|
||||||
hasMoved(),
|
hasMoved(),
|
||||||
@@ -3997,7 +3997,7 @@ class WindowState extends WindowContainer<WindowState> implements WindowManagerP
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void notifyInsetsControlChanged() {
|
public void notifyInsetsControlChanged() {
|
||||||
ProtoLog.d(WM_DEBUG_IME, "notifyInsetsControlChanged for %s ", this);
|
ProtoLog.d(WM_DEBUG_WINDOW_INSETS, "notifyInsetsControlChanged for %s ", this);
|
||||||
if (mAppDied || mRemoved) {
|
if (mAppDied || mRemoved) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user