diff options
author | 2013-10-21 00:51:22 -0700 | |
---|---|---|
committer | 2013-10-21 00:51:22 -0700 | |
commit | e17196cef1e7e23fad76978d4d8351863490dfb9 (patch) | |
tree | c3506922c8cf7619f22cd43acb6fbb11ac41fe88 /java/src/com/android/inputmethod/latin/InputAttributes.java | |
parent | 58db04ca5cbd4d9bea420e7d6df1b5ffc3fd2e0e (diff) | |
parent | 513b99dfa26dadcd9d0b2fb12bcbbdb46b3b3b3b (diff) | |
download | latinime-e17196cef1e7e23fad76978d4d8351863490dfb9.tar.gz latinime-e17196cef1e7e23fad76978d4d8351863490dfb9.tar.xz latinime-e17196cef1e7e23fad76978d4d8351863490dfb9.zip |
am 513b99df: Cosmetic fixes
* commit '513b99dfa26dadcd9d0b2fb12bcbbdb46b3b3b3b':
Cosmetic fixes
Diffstat (limited to '')
-rw-r--r-- | java/src/com/android/inputmethod/latin/InputAttributes.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/java/src/com/android/inputmethod/latin/InputAttributes.java b/java/src/com/android/inputmethod/latin/InputAttributes.java index 8caf6f17f..fcf043031 100644 --- a/java/src/com/android/inputmethod/latin/InputAttributes.java +++ b/java/src/com/android/inputmethod/latin/InputAttributes.java @@ -52,8 +52,7 @@ public final class InputAttributes { } else if (inputClass == 0) { // TODO: is this check still necessary? Log.w(TAG, String.format("Unexpected input class: inputType=0x%08x" - + " imeOptions=0x%08x", - inputType, editorInfo.imeOptions)); + + " imeOptions=0x%08x", inputType, editorInfo.imeOptions)); } mIsSettingsSuggestionStripOn = false; mInputTypeNoAutoCorrect = false; @@ -204,8 +203,7 @@ public final class InputAttributes { public static boolean inPrivateImeOptions(String packageName, String key, EditorInfo editorInfo) { if (editorInfo == null) return false; - final String findingKey = (packageName != null) ? packageName + "." + key - : key; + final String findingKey = (packageName != null) ? packageName + "." + key : key; return StringUtils.containsInCommaSplittableText(findingKey, editorInfo.privateImeOptions); } } |