diff options
author | 2013-12-20 00:04:01 -0800 | |
---|---|---|
committer | 2013-12-20 00:04:01 -0800 | |
commit | d9b075eb24d6b3d8f531d4ab4c4baefb36722ad6 (patch) | |
tree | c6c70b8dfcb08fd284c0880ff400037884c15841 /java/src/com/android/inputmethod/latin/InputAttributes.java | |
parent | d461405e9e3564591bf5ef8c653cc79021849099 (diff) | |
parent | 689cff2e3b1ad3709033b36040dc8607a7cb53d6 (diff) | |
download | latinime-d9b075eb24d6b3d8f531d4ab4c4baefb36722ad6.tar.gz latinime-d9b075eb24d6b3d8f531d4ab4c4baefb36722ad6.tar.xz latinime-d9b075eb24d6b3d8f531d4ab4c4baefb36722ad6.zip |
am 689cff2e: Merge "[IL21] Move the workaround utils to a better place."
* commit '689cff2e3b1ad3709033b36040dc8607a7cb53d6':
[IL21] Move the workaround utils to a better place.
Diffstat (limited to 'java/src/com/android/inputmethod/latin/InputAttributes.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/InputAttributes.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/java/src/com/android/inputmethod/latin/InputAttributes.java b/java/src/com/android/inputmethod/latin/InputAttributes.java index fcf043031..b01bc4ba5 100644 --- a/java/src/com/android/inputmethod/latin/InputAttributes.java +++ b/java/src/com/android/inputmethod/latin/InputAttributes.java @@ -29,6 +29,7 @@ import com.android.inputmethod.latin.utils.StringUtils; public final class InputAttributes { private final String TAG = InputAttributes.class.getSimpleName(); + final public String mTargetApplicationPackageName; final public boolean mInputTypeNoAutoCorrect; final public boolean mIsSettingsSuggestionStripOn; final public boolean mApplicationSpecifiedCompletionOn; @@ -36,6 +37,7 @@ public final class InputAttributes { final private int mInputType; public InputAttributes(final EditorInfo editorInfo, final boolean isFullscreenMode) { + mTargetApplicationPackageName = null != editorInfo ? editorInfo.packageName : null; final int inputType = null != editorInfo ? editorInfo.inputType : 0; final int inputClass = inputType & InputType.TYPE_MASK_CLASS; mInputType = inputType; |