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

Commit 6951028d authored by Aayush Gupta's avatar Aayush Gupta
Browse files

Merge remote-tracking branch 'origin/lineage-18.1' into v1-r

parents 7827218c 11893118
Loading
Loading
Loading
Loading
+3 −2
Original line number Original line Diff line number Diff line
@@ -1587,8 +1587,10 @@ public class LockPatternView extends View {
            if (virtualViewId != ExploreByTouchHelper.INVALID_ID) {
            if (virtualViewId != ExploreByTouchHelper.INVALID_ID) {
                int row = (virtualViewId - VIRTUAL_BASE_VIEW_ID) / 3;
                int row = (virtualViewId - VIRTUAL_BASE_VIEW_ID) / 3;
                int col = (virtualViewId - VIRTUAL_BASE_VIEW_ID) % 3;
                int col = (virtualViewId - VIRTUAL_BASE_VIEW_ID) % 3;
                if (row < 3) {
                    return !mPatternDrawLookup[row][col];
                    return !mPatternDrawLookup[row][col];
                }
                }
            }
            return false;
            return false;
        }
        }


@@ -1633,7 +1635,6 @@ public class LockPatternView extends View {
            final Rect bounds = mTempRect;
            final Rect bounds = mTempRect;
            final int row = ordinal / 3;
            final int row = ordinal / 3;
            final int col = ordinal % 3;
            final int col = ordinal % 3;
            final CellState cell = mCellStates[row][col];
            float centerX = getCenterXForColumn(col);
            float centerX = getCenterXForColumn(col);
            float centerY = getCenterYForRow(row);
            float centerY = getCenterYForRow(row);
            float cellheight = mSquareHeight * mHitFactor * 0.5f;
            float cellheight = mSquareHeight * mHitFactor * 0.5f;