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

Commit 2267d76e authored by Jakub Gielzak's avatar Jakub Gielzak Committed by Android (Google) Code Review
Browse files

Merge "Restrict reflection access to mLayoutParams"

parents 92a70d42 79bceebe
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -4140,9 +4140,13 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
     * The layout parameters associated with this view and used by the parent
     * {@link android.view.ViewGroup} to determine how this view should be
     * laid out.
     *
     * The field should not be used directly. Instead {@link #getLayoutParams()} and {@link
     * #setLayoutParams(ViewGroup.LayoutParams)} should be used. The setter guarantees internal
     * state correctness of the class.
     * {@hide}
     */
    @UnsupportedAppUsage
    @UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.P)
    protected ViewGroup.LayoutParams mLayoutParams;
    /**