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

Commit c7f839b7 authored by Andrey Kulikov's avatar Andrey Kulikov Committed by Android (Google) Code Review
Browse files

Merge "Restrict unsupported API usage to View.setFrame"

parents a025ce48 470564c9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -49341,7 +49341,7 @@ package android.view {
    method public void setLayoutDirection(int);
    method public void setLayoutParams(android.view.ViewGroup.LayoutParams);
    method public final void setLeft(int);
    method public void setLeftTopRightBottom(int, int, int, int);
    method public final void setLeftTopRightBottom(int, int, int, int);
    method public void setLongClickable(boolean);
    method protected final void setMeasuredDimension(int, int);
    method public void setMinimumHeight(int);
+2 −2
Original line number Diff line number Diff line
@@ -21462,7 +21462,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
     *         previous ones
     * {@hide}
     */
    @UnsupportedAppUsage
    @UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.P)
    protected boolean setFrame(int left, int top, int right, int bottom) {
        boolean changed = false;
@@ -21539,7 +21539,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
     *
     * @see #setLeft(int), #setRight(int), #setTop(int), #setBottom(int)
     */
    public void setLeftTopRightBottom(int left, int top, int right, int bottom) {
    public final void setLeftTopRightBottom(int left, int top, int right, int bottom) {
        setFrame(left, top, right, bottom);
    }