summaryrefslogtreecommitdiff
authorlyra.lee <lyra.lee@amlogic.com>2011-06-28 07:49:24 (GMT)
committer lyra.lee <lyra.lee@amlogic.com>2011-06-28 07:49:24 (GMT)
commit17b1f8ab936f292bc65eae54be98ab984767c5a9 (patch)
tree302492dcd10ece001dff4696cd4ef6c45e206ad6
parent9c3ab665f1675afd523f187149629b962c032a4b (diff)
downloadRemoteIME-17b1f8ab936f292bc65eae54be98ab984767c5a9.zip
RemoteIME-17b1f8ab936f292bc65eae54be98ab984767c5a9.tar.gz
RemoteIME-17b1f8ab936f292bc65eae54be98ab984767c5a9.tar.bz2
check a null pointer
Diffstat
-rwxr-xr-xsrc/com/amlogic/inputmethod/remote/RemoteIME.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/amlogic/inputmethod/remote/RemoteIME.java b/src/com/amlogic/inputmethod/remote/RemoteIME.java
index 486f12a..f18d40b 100755
--- a/src/com/amlogic/inputmethod/remote/RemoteIME.java
+++ b/src/com/amlogic/inputmethod/remote/RemoteIME.java
@@ -274,7 +274,7 @@ public class RemoteIME extends InputMethodService {
return false;
}
- if (mSkbContainer.hasFocus()) {
+ if (mSkbContainer!=null && mSkbContainer.hasFocus()) {
Log.d(TAG, "processKeys: processChooseSoftKeys");
if (processChooseSoftKeys(keyCode, realAction))
return true;