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

Commit 6737cc67 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Restrict reflection access to View methods"

parents 04c971ec 4ba27796
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -19532,7 +19532,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
     * @param info the {@link android.view.View.AttachInfo} to associated with
     *        this view
     */
    @UnsupportedAppUsage
    @UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.P)
    void dispatchAttachedToWindow(AttachInfo info, int visibility) {
        mAttachInfo = info;
        if (mOverlay != null) {
@@ -19598,7 +19598,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
        notifyAppearedOrDisappearedForContentCaptureIfNeeded(true);
    }
    @UnsupportedAppUsage
    @UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.P)
    void dispatchDetachedFromWindow() {
        AttachInfo info = mAttachInfo;
        if (info != null) {