Fix obvious bug
Change-Id: I3a0e5c699bbe4e9274dacdbdf92dff14148bd2c1
This commit is contained in:
parent
5b7f50b10b
commit
93bc5e7fda
1 changed files with 1 additions and 4 deletions
|
@ -124,20 +124,17 @@ public class KeyboardId {
|
|||
return mElementId < ELEMENT_SYMBOLS;
|
||||
}
|
||||
|
||||
// This should be aligned with {@link KeyboardShiftState#isShiftLocked}.
|
||||
public boolean isAlphabetShiftLockedKeyboard() {
|
||||
return mElementId == ELEMENT_ALPHABET_SHIFT_LOCKED
|
||||
|| mElementId == ELEMENT_ALPHABET_SHIFT_LOCK_SHIFTED;
|
||||
}
|
||||
|
||||
// This should be aligned with {@link KeyboardShiftState#isShiftedOrShiftLocked}.
|
||||
public boolean isAlphabetShiftedOrShiftLockedKeyboard() {
|
||||
return isAlphabetKeyboard() && mElementId != ELEMENT_ALPHABET;
|
||||
}
|
||||
|
||||
// This should be aligned with {@link KeyboardShiftState#isManualShifted}.
|
||||
public boolean isAlphabetManualShiftedKeyboard() {
|
||||
return mElementId != ELEMENT_ALPHABET_MANUAL_SHIFTED;
|
||||
return mElementId == ELEMENT_ALPHABET_MANUAL_SHIFTED;
|
||||
}
|
||||
|
||||
public boolean isSymbolsKeyboard() {
|
||||
|
|
Loading…
Reference in a new issue