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.
This commit is contained in:
Amith Yamasani 2010-03-03 13:50:55 -08:00
parent 479829592c
commit 12caec4dd5

View file

@ -147,8 +147,7 @@ public class KeyboardSwitcher {
public boolean equals(KeyboardId other) {
return other.mXml == this.mXml
&& other.mKeyboardMode == this.mKeyboardMode
&& other.mEnableShiftLock == this.mEnableShiftLock
&& other.mHasVoice == this.mHasVoice;
&& other.mEnableShiftLock == this.mEnableShiftLock;
}
public int hashCode() {