Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e5824fe8 authored by Shawn Lin's avatar Shawn Lin Committed by Android (Google) Code Review
Browse files

Merge "Update the API doc for shortEdge/always cutout flags"

parents 3d9534ce 613ca984
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -3408,6 +3408,11 @@ public interface WindowManager extends ViewManager {
         * alt="Screenshot of an activity on a display with a cutout on the long edge in portrait,
         *         letterbox is applied."/>
         *
         * <p>
         * Note: Android might not allow the content view to overlap the system bars in view level.
         * To override this behavior and allow content to be able to extend into the cutout area,
         * call {@link Window#setDecorFitsSystemWindows(boolean)} with {@code false}.
         *
         * @see DisplayCutout
         * @see WindowInsets#getDisplayCutout()
         * @see #layoutInDisplayCutoutMode
@@ -3443,6 +3448,11 @@ public interface WindowManager extends ViewManager {
         * In this mode, the window extends under cutouts on the all edges of the display in both
         * portrait and landscape, regardless of whether the window is hiding the system bars.
         *
         * <p>
         * Note: Android might not allow the content view to overlap the system bars in view level.
         * To override this behavior and allow content to be able to extend into the cutout area,
         * call {@link Window#setDecorFitsSystemWindows(boolean)} with {@code false}.
         *
         * @see DisplayCutout
         * @see WindowInsets#getDisplayCutout()
         * @see #layoutInDisplayCutoutMode