b/2449438 : ALT key sometimes doesn't work in the symbols keyboard
This change seems to fix it. Will continue to monitor if it happens. From tracing the code, it seemed to think that the current keyboard was not a symbols keyboard, so the "equals" call was failing. It was probably due to voice mode changing between keyboard creation and display.main
parent
479829592c
commit
12caec4dd5
|
@ -147,8 +147,7 @@ public class KeyboardSwitcher {
|
||||||
public boolean equals(KeyboardId other) {
|
public boolean equals(KeyboardId other) {
|
||||||
return other.mXml == this.mXml
|
return other.mXml == this.mXml
|
||||||
&& other.mKeyboardMode == this.mKeyboardMode
|
&& other.mKeyboardMode == this.mKeyboardMode
|
||||||
&& other.mEnableShiftLock == this.mEnableShiftLock
|
&& other.mEnableShiftLock == this.mEnableShiftLock;
|
||||||
&& other.mHasVoice == this.mHasVoice;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public int hashCode() {
|
public int hashCode() {
|
||||||
|
|
Loading…
Reference in New Issue