From f983c8ea3f43dfdfb43ebfecb8941901f221c378 Mon Sep 17 00:00:00 2001 From: Rakesh Pallerla Date: Thu, 4 Feb 2016 14:46:43 +0530 Subject: 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 --- src/com/android/stk/StkInputActivity.java | 2 ++ 1 file changed, 2 insertions(+) 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); -- cgit v1.2.3