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

Commit 4a292acc authored by Tadashi G. Takaoka's avatar Tadashi G. Takaoka
Browse files

Make ModifierKeySatate and ShiftKeyState non-public class

Bug: 5708602
Change-Id: I149c2dab26774686e5c578bbf780081e9fb30e7c
parent b88c9acd
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -107,7 +107,7 @@ public class KeyboardState {

    @Override
    public String toString() {
        return "shiftKeyState=" + mShiftKeyState
                + " symbolKeyState=" + mSymbolKeyState;
        return "[shift=" + mShiftKeyState
                + " symbol=" + mSymbolKeyState + "]";
    }
}
+1 −1
Original line number Diff line number Diff line
@@ -20,7 +20,7 @@ import android.util.Log;

import com.android.inputmethod.keyboard.KeyboardSwitcher;

public class ModifierKeyState {
class ModifierKeyState {
    protected static final String TAG = "ModifierKeyState";
    protected static final boolean DEBUG = KeyboardSwitcher.DEBUG_STATE;

+1 −1
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@ package com.android.inputmethod.keyboard.internal;

import android.util.Log;

public class ShiftKeyState extends ModifierKeyState {
class ShiftKeyState extends ModifierKeyState {
    private static final int PRESSING_ON_SHIFTED = 3; // both temporary shifted & shift locked
    private static final int IGNORING = 4;