diff options
author | 2014-10-23 07:54:35 +0000 | |
---|---|---|
committer | 2014-10-23 07:54:35 +0000 | |
commit | 77e6afd1f243eb05936a00f54f6839ecacddd35c (patch) | |
tree | bcd93f81f396556ddaa1a765fa92c2011f9bcf99 /java/src/com/android/inputmethod/latin/RichInputMethodManager.java | |
parent | 3af7fd0a913d754593c231eb8ba0236b47322f50 (diff) | |
parent | d3a4c5132422b189c8dbb94dbbe84a9b9761b0a8 (diff) | |
download | latinime-77e6afd1f243eb05936a00f54f6839ecacddd35c.tar.gz latinime-77e6afd1f243eb05936a00f54f6839ecacddd35c.tar.xz latinime-77e6afd1f243eb05936a00f54f6839ecacddd35c.zip |
am d3a4c513: Fix Javadoc and null analysis related warnings
* commit 'd3a4c5132422b189c8dbb94dbbe84a9b9761b0a8':
Fix Javadoc and null analysis related warnings
Diffstat (limited to 'java/src/com/android/inputmethod/latin/RichInputMethodManager.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/RichInputMethodManager.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/latin/RichInputMethodManager.java b/java/src/com/android/inputmethod/latin/RichInputMethodManager.java index 113a20483..894c115d8 100644 --- a/java/src/com/android/inputmethod/latin/RichInputMethodManager.java +++ b/java/src/com/android/inputmethod/latin/RichInputMethodManager.java @@ -38,6 +38,8 @@ import java.util.Collections; import java.util.HashMap; import java.util.List; +import javax.annotation.Nonnull; + /** * Enrichment class for InputMethodManager to simplify interaction and add functionality. */ @@ -301,12 +303,13 @@ public class RichInputMethodManager { return INDEX_NOT_FOUND; } + @Nonnull public InputMethodSubtype getCurrentRawSubtype() { return mImmWrapper.mImm.getCurrentInputMethodSubtype(); } public RichInputMethodSubtype createCurrentRichInputMethodSubtype( - final InputMethodSubtype rawSubtype) { + @Nonnull final InputMethodSubtype rawSubtype) { return AdditionalFeaturesSettingUtils.createRichInputMethodSubtype(this, rawSubtype, mContext); } |