Skip to content
Snippets Groups Projects
Commit 23bf5e53 authored by Tadashi G. Takaoka's avatar Tadashi G. Takaoka Committed by Android (Google) Code Review
Browse files

Merge "Fix NPE at Keyboard"

parents 715514d7 566870c0
No related branches found
No related tags found
No related merge requests found
......@@ -366,15 +366,15 @@ public class Keyboard {
}
public boolean isAlphaKeyboard() {
return mId.isAlphabetKeyboard();
return mId != null && mId.isAlphabetKeyboard();
}
public boolean isPhoneKeyboard() {
return mId.isPhoneKeyboard();
return mId != null && mId.isPhoneKeyboard();
}
public boolean isNumberKeyboard() {
return mId.isNumberKeyboard();
return mId != null && mId.isNumberKeyboard();
}
public void setSpaceKey(Key space) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment