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
Amith Yamasani 2010-03-03 13:50:55 -08:00
parent 479829592c
commit 12caec4dd5
1 changed files with 1 additions and 2 deletions

View File

@ -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() {