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

Commit b57bfe04 authored by Adrian Roos's avatar Adrian Roos
Browse files

WindowInsets: make WindowInsets.inset() public

Bug: 111829774
Test: make droid
Change-Id: I88d1fe364b4d3bface07673ff5aed5366d1ad380
parent adb49c00
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -49989,6 +49989,7 @@ package android.view {
    method public boolean hasInsets();
    method public boolean hasStableInsets();
    method public boolean hasSystemWindowInsets();
    method public android.view.WindowInsets inset(int, int, int, int);
    method public boolean isConsumed();
    method public boolean isRound();
    method public android.view.WindowInsets replaceSystemWindowInsets(int, int, int, int);
+1 −3
Original line number Diff line number Diff line
@@ -579,10 +579,8 @@ public final class WindowInsets {
     * @param bottom the amount of insets to remove from the bottom. Must be non-negative.
     *
     * @return the inset insets
     *
     * @hide pending API
     */
    @UnsupportedAppUsage
    @NonNull
    public WindowInsets inset(int left, int top, int right, int bottom) {
        Preconditions.checkArgumentNonnegative(left);
        Preconditions.checkArgumentNonnegative(top);