diff options
author | Rakesh Pallerla <rakesh@codeaurora.org> | 2016-02-04 14:46:43 +0530 |
---|---|---|
committer | Steve Kondik <steve@cyngn.com> | 2016-07-01 05:16:54 -0700 |
commit | f983c8ea3f43dfdfb43ebfecb8941901f221c378 (patch) | |
tree | 64d3a241c2f255fc62e53a4a132ffb61c6f02ea8 | |
parent | e1ec2ccfc756bfb9b68fd6c31e32ae6b9b157bb1 (diff) | |
download | android_packages_apps_Stk-f983c8ea3f43dfdfb43ebfecb8941901f221c378.tar.gz android_packages_apps_Stk-f983c8ea3f43dfdfb43ebfecb8941901f221c378.tar.bz2 android_packages_apps_Stk-f983c8ea3f43dfdfb43ebfecb8941901f221c378.zip |
Do not go Fullscreen in StkInputAcvtivity.
In landscape mode if user goes to fullscreen password is not
masked and is visible. To avoid this do not go to full screen
in StkInputActivity.
Change-Id: I70d08c00ca1c4f9c05f7982a300ac4bf9fc8e1be
CRs-Fixed: 945011
-rw-r--r-- | src/com/android/stk/StkInputActivity.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/android/stk/StkInputActivity.java b/src/com/android/stk/StkInputActivity.java index 021c832..e8d6a4d 100644 --- a/src/com/android/stk/StkInputActivity.java +++ b/src/com/android/stk/StkInputActivity.java @@ -28,6 +28,7 @@ import android.text.InputFilter; import android.text.InputType; import android.text.TextWatcher; import android.text.method.PasswordTransformationMethod; +import android.view.inputmethod.EditorInfo; import android.view.KeyEvent; import android.view.MenuItem; import android.view.View; @@ -394,6 +395,7 @@ public class StkInputActivity extends Activity implements View.OnClickListener, mTextIn.setTransformationMethod(PasswordTransformationMethod .getInstance()); } + mTextIn.setImeOptions(EditorInfo.IME_FLAG_NO_FULLSCREEN); // Set default text if present. if (mStkInput.defaultText != null) { mTextIn.setText(mStkInput.defaultText); |