Loading services/core/java/com/android/server/wm/WindowManagerService.java +6 −5 Original line number Diff line number Diff line Loading @@ -1551,11 +1551,6 @@ public class WindowManagerService extends IWindowManager.Stub return WindowManagerGlobal.ADD_DUPLICATE_ADD; } if (type == TYPE_PRESENTATION || type == TYPE_PRIVATE_PRESENTATION) { mDisplayManagerInternal.onPresentation(displayContent.getDisplay().getDisplayId(), /*isShown=*/ true); } if (type == TYPE_PRIVATE_PRESENTATION && !displayContent.isPrivate()) { ProtoLog.w(WM_ERROR, "Attempted to add private presentation window to a non-private display. " Loading Loading @@ -1906,6 +1901,12 @@ public class WindowManagerService extends IWindowManager.Stub outAttachedFrame.set(0, 0, -1, -1); } outSizeCompatScale[0] = win.getCompatScaleForClient(); if (res >= ADD_OKAY && (type == TYPE_PRESENTATION || type == TYPE_PRIVATE_PRESENTATION)) { mDisplayManagerInternal.onPresentation(displayContent.getDisplay().getDisplayId(), /*isShown=*/ true); } } Binder.restoreCallingIdentity(origId); Loading Loading
services/core/java/com/android/server/wm/WindowManagerService.java +6 −5 Original line number Diff line number Diff line Loading @@ -1551,11 +1551,6 @@ public class WindowManagerService extends IWindowManager.Stub return WindowManagerGlobal.ADD_DUPLICATE_ADD; } if (type == TYPE_PRESENTATION || type == TYPE_PRIVATE_PRESENTATION) { mDisplayManagerInternal.onPresentation(displayContent.getDisplay().getDisplayId(), /*isShown=*/ true); } if (type == TYPE_PRIVATE_PRESENTATION && !displayContent.isPrivate()) { ProtoLog.w(WM_ERROR, "Attempted to add private presentation window to a non-private display. " Loading Loading @@ -1906,6 +1901,12 @@ public class WindowManagerService extends IWindowManager.Stub outAttachedFrame.set(0, 0, -1, -1); } outSizeCompatScale[0] = win.getCompatScaleForClient(); if (res >= ADD_OKAY && (type == TYPE_PRESENTATION || type == TYPE_PRIVATE_PRESENTATION)) { mDisplayManagerInternal.onPresentation(displayContent.getDisplay().getDisplayId(), /*isShown=*/ true); } } Binder.restoreCallingIdentity(origId); Loading