Loading core/api/test-current.txt +0 −1 Original line number Diff line number Diff line Loading @@ -3994,7 +3994,6 @@ package android.view { method @RequiresPermission(android.Manifest.permission.ACCESS_SURFACE_FLINGER) public default boolean replaceContentOnDisplayWithMirror(int, @NonNull android.view.Window); method @RequiresPermission(android.Manifest.permission.ACCESS_SURFACE_FLINGER) public default boolean replaceContentOnDisplayWithSc(int, @NonNull android.view.SurfaceControl); method public default void setDisplayImePolicy(int, int); method public default void setShouldShowSystemDecors(int, boolean); method public default void setShouldShowWithInsecureKeyguard(int, boolean); method public default boolean shouldShowSystemDecors(int); method @Nullable public default android.graphics.Bitmap snapshotTaskForRecents(@IntRange(from=0) int); Loading core/java/android/view/IWindowManager.aidl +0 −11 Original line number Diff line number Diff line Loading @@ -741,17 +741,6 @@ interface IWindowManager */ boolean shouldShowSystemDecors(int displayId); /** * Sets that the display should show system decors. * <p> * System decors include status bar, navigation bar, launcher. * </p> * * @param displayId The id of the display. * @param shouldShow Indicates that the display should show system decors. */ void setShouldShowSystemDecors(int displayId, boolean shouldShow); /** * Indicates that the display is eligible for the desktop mode from WindowManager's perspective. * This includes: Loading core/java/android/view/WindowManager.java +0 −16 Original line number Diff line number Diff line Loading @@ -1761,21 +1761,6 @@ public interface WindowManager extends ViewManager { default void setShouldShowWithInsecureKeyguard(int displayId, boolean shouldShow) { } /** * Sets that the display should show system decors. * <p> * System decors include status bar, navigation bar, launcher. * </p> * * @param displayId The id of the display. * @param shouldShow Indicates that the display should show system decors. * @see #shouldShowSystemDecors(int) * @hide */ @TestApi default void setShouldShowSystemDecors(int displayId, boolean shouldShow) { } /** * Checks if the display supports showing system decors. * <p> Loading @@ -1783,7 +1768,6 @@ public interface WindowManager extends ViewManager { * </p> * * @param displayId The id of the display. * @see #setShouldShowSystemDecors(int, boolean) * @hide */ @TestApi Loading core/java/android/view/WindowManagerImpl.java +0 −9 Original line number Diff line number Diff line Loading @@ -321,15 +321,6 @@ public final class WindowManagerImpl implements WindowManager { } } @Override public void setShouldShowSystemDecors(int displayId, boolean shouldShow) { try { WindowManagerGlobal.getWindowManagerService() .setShouldShowSystemDecors(displayId, shouldShow); } catch (RemoteException e) { } } @Override public boolean shouldShowSystemDecors(int displayId) { try { Loading core/java/android/view/WindowManagerWrapper.java +0 −5 Original line number Diff line number Diff line Loading @@ -129,11 +129,6 @@ public class WindowManagerWrapper implements WindowManager { mBase.setShouldShowWithInsecureKeyguard(displayId, shouldShow); } @Override public void setShouldShowSystemDecors(int displayId, boolean shouldShow) { mBase.setShouldShowSystemDecors(displayId, shouldShow); } @Override public boolean shouldShowSystemDecors(int displayId) { return mBase.shouldShowSystemDecors(displayId); Loading Loading
core/api/test-current.txt +0 −1 Original line number Diff line number Diff line Loading @@ -3994,7 +3994,6 @@ package android.view { method @RequiresPermission(android.Manifest.permission.ACCESS_SURFACE_FLINGER) public default boolean replaceContentOnDisplayWithMirror(int, @NonNull android.view.Window); method @RequiresPermission(android.Manifest.permission.ACCESS_SURFACE_FLINGER) public default boolean replaceContentOnDisplayWithSc(int, @NonNull android.view.SurfaceControl); method public default void setDisplayImePolicy(int, int); method public default void setShouldShowSystemDecors(int, boolean); method public default void setShouldShowWithInsecureKeyguard(int, boolean); method public default boolean shouldShowSystemDecors(int); method @Nullable public default android.graphics.Bitmap snapshotTaskForRecents(@IntRange(from=0) int); Loading
core/java/android/view/IWindowManager.aidl +0 −11 Original line number Diff line number Diff line Loading @@ -741,17 +741,6 @@ interface IWindowManager */ boolean shouldShowSystemDecors(int displayId); /** * Sets that the display should show system decors. * <p> * System decors include status bar, navigation bar, launcher. * </p> * * @param displayId The id of the display. * @param shouldShow Indicates that the display should show system decors. */ void setShouldShowSystemDecors(int displayId, boolean shouldShow); /** * Indicates that the display is eligible for the desktop mode from WindowManager's perspective. * This includes: Loading
core/java/android/view/WindowManager.java +0 −16 Original line number Diff line number Diff line Loading @@ -1761,21 +1761,6 @@ public interface WindowManager extends ViewManager { default void setShouldShowWithInsecureKeyguard(int displayId, boolean shouldShow) { } /** * Sets that the display should show system decors. * <p> * System decors include status bar, navigation bar, launcher. * </p> * * @param displayId The id of the display. * @param shouldShow Indicates that the display should show system decors. * @see #shouldShowSystemDecors(int) * @hide */ @TestApi default void setShouldShowSystemDecors(int displayId, boolean shouldShow) { } /** * Checks if the display supports showing system decors. * <p> Loading @@ -1783,7 +1768,6 @@ public interface WindowManager extends ViewManager { * </p> * * @param displayId The id of the display. * @see #setShouldShowSystemDecors(int, boolean) * @hide */ @TestApi Loading
core/java/android/view/WindowManagerImpl.java +0 −9 Original line number Diff line number Diff line Loading @@ -321,15 +321,6 @@ public final class WindowManagerImpl implements WindowManager { } } @Override public void setShouldShowSystemDecors(int displayId, boolean shouldShow) { try { WindowManagerGlobal.getWindowManagerService() .setShouldShowSystemDecors(displayId, shouldShow); } catch (RemoteException e) { } } @Override public boolean shouldShowSystemDecors(int displayId) { try { Loading
core/java/android/view/WindowManagerWrapper.java +0 −5 Original line number Diff line number Diff line Loading @@ -129,11 +129,6 @@ public class WindowManagerWrapper implements WindowManager { mBase.setShouldShowWithInsecureKeyguard(displayId, shouldShow); } @Override public void setShouldShowSystemDecors(int displayId, boolean shouldShow) { mBase.setShouldShowSystemDecors(displayId, shouldShow); } @Override public boolean shouldShowSystemDecors(int displayId) { return mBase.shouldShowSystemDecors(displayId); Loading