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

Commit 32946b39 authored by Shawn Lin's avatar Shawn Lin Committed by Automerger Merge Worker
Browse files

Merge "Update the description of getWaterfallInsets()" into rvc-dev am: b578ddde am: 9f4ea365

Change-Id: Ice89c4369942e4bf3aede5e33f05387a4650b690
parents da2174a6 9f4ea365
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -332,7 +332,14 @@ public final class DisplayCutout {
    }

    /**
     * Return the waterfall insets.
     * Returns the insets representing the curved areas of a waterfall display.
     *
     * A waterfall display has curved areas along the edges of the screen. Apps should be careful
     * when showing UI and handling touch input in those insets because the curve may impair
     * legibility and can frequently lead to unintended touch inputs.
     *
     * @return the insets for the curved areas of a waterfall display in pixels or {@code
     * Insets.NONE} if there are no curved areas or they don't overlap with the window.
     */
    public @NonNull Insets getWaterfallInsets() {
        return mWaterfallInsets;