Loading services/core/java/com/android/server/wm/WindowManagerService.java +8 −0 Original line number Diff line number Diff line Loading @@ -6963,6 +6963,10 @@ public class WindowManagerService extends IWindowManager.Stub + "not exist: " + displayId); return; } if (displayContent.isUntrustedVirtualDisplay()) { throw new SecurityException("Attempted to set system decors flag to an untrusted " + "virtual display: " + displayId); } mDisplayWindowSettings.setShouldShowSystemDecorsLocked(displayContent, shouldShow); Loading Loading @@ -7004,6 +7008,10 @@ public class WindowManagerService extends IWindowManager.Stub + displayId); return; } if (displayContent.isUntrustedVirtualDisplay()) { throw new SecurityException("Attempted to set IME flag to an untrusted " + "virtual display: " + displayId); } mDisplayWindowSettings.setShouldShowImeLocked(displayContent, shouldShow); Loading Loading
services/core/java/com/android/server/wm/WindowManagerService.java +8 −0 Original line number Diff line number Diff line Loading @@ -6963,6 +6963,10 @@ public class WindowManagerService extends IWindowManager.Stub + "not exist: " + displayId); return; } if (displayContent.isUntrustedVirtualDisplay()) { throw new SecurityException("Attempted to set system decors flag to an untrusted " + "virtual display: " + displayId); } mDisplayWindowSettings.setShouldShowSystemDecorsLocked(displayContent, shouldShow); Loading Loading @@ -7004,6 +7008,10 @@ public class WindowManagerService extends IWindowManager.Stub + displayId); return; } if (displayContent.isUntrustedVirtualDisplay()) { throw new SecurityException("Attempted to set IME flag to an untrusted " + "virtual display: " + displayId); } mDisplayWindowSettings.setShouldShowImeLocked(displayContent, shouldShow); Loading