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

Commit 72d98fab authored by Tadashi G. Takaoka's avatar Tadashi G. Takaoka
Browse files

Corresponding to TBR of Id2b0b974

This is follow up change of Id2b0b974fffdf6f09ee1828e957b973d2ce1c315
Bug: 2959169

Change-Id: Ie47db5fce7937a4d70c432ab76510d0dc3f68401
parent 400046d6
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -35,8 +35,8 @@ class ProximityKeyDetector extends KeyDetector {

    @Override
    public int getKeyIndexAndNearbyCodes(int x, int y, int[] allKeys) {
        int touchX = getTouchX(x);
        int touchY = getTouchY(y);
        final int touchX = getTouchX(x);
        final int touchY = getTouchY(y);
        final Key[] keys = mKeys;
        if (keys == null)
            throw new IllegalStateException("keyboard isn't set");