aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/LatinKeyboardView.java
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2010-09-06 06:43:25 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2010-09-06 06:43:25 -0700
commitefe7abe03dce1779ce76e175d0fe9422d2f8eaad (patch)
treeebbf67ae464ba361e5a747f6f1e949c4645ee828 /java/src/com/android/inputmethod/latin/LatinKeyboardView.java
parentef40dd52aa8eef0366586f80cbfe5cb0b63ad4f2 (diff)
parent12659d4c0ce04aaf3d8479e44f9230881b964000 (diff)
downloadlatinime-efe7abe03dce1779ce76e175d0fe9422d2f8eaad.tar.gz
latinime-efe7abe03dce1779ce76e175d0fe9422d2f8eaad.tar.xz
latinime-efe7abe03dce1779ce76e175d0fe9422d2f8eaad.zip
am 12659d4c: Fix ALT key light behavior
Merge commit '12659d4c0ce04aaf3d8479e44f9230881b964000' into gingerbread-plus-aosp * commit '12659d4c0ce04aaf3d8479e44f9230881b964000': Fix ALT key light behavior
Diffstat (limited to 'java/src/com/android/inputmethod/latin/LatinKeyboardView.java')
-rw-r--r--java/src/com/android/inputmethod/latin/LatinKeyboardView.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinKeyboardView.java b/java/src/com/android/inputmethod/latin/LatinKeyboardView.java
index 71ca8b81a..4295427e3 100644
--- a/java/src/com/android/inputmethod/latin/LatinKeyboardView.java
+++ b/java/src/com/android/inputmethod/latin/LatinKeyboardView.java
@@ -131,7 +131,7 @@ public class LatinKeyboardView extends LatinKeyboardBaseView {
public boolean setShiftLocked(boolean shiftLocked) {
Keyboard keyboard = getKeyboard();
- if (keyboard != null && keyboard instanceof LatinKeyboard) {
+ if (keyboard instanceof LatinKeyboard) {
((LatinKeyboard)keyboard).setShiftLocked(shiftLocked);
invalidateAllKeys();
return true;