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

Commit 4367c8ed authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "LockPatternView: set gesture exclusion on layout" into main

parents 7b4be942 55647524
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -1565,6 +1565,13 @@ public class LockPatternView extends View {
        mInStealthMode = ss.isInStealthMode();
    }

    @Override
    protected void onLayout(boolean changed, int left, int top, int right, int bottom) {
        super.onLayout(changed, left, top, right, bottom);

        setSystemGestureExclusionRects(List.of(new Rect(left, top, right, bottom)));
    }

    /**
     * The parecelable for saving and restoring a lock pattern view.
     */