Merge \\\"Support self-explanatory icon for GET INKEY and GET INPUT commands\\\" am: c0eda576ba am: 39531a94d0
am: 4bdae1b0a4
Change-Id: I62a1271a275d08c6f427840714cea5549fd3fe84
diff --git a/src/com/android/stk/StkInputActivity.java b/src/com/android/stk/StkInputActivity.java
index 53bea93..4dbad00 100644
--- a/src/com/android/stk/StkInputActivity.java
+++ b/src/com/android/stk/StkInputActivity.java
@@ -357,7 +357,11 @@
int inTypeId = R.string.alphabet;
// set the prompt.
- mPromptView.setText(mStkInput.text);
+ if (mStkInput.iconSelfExplanatory && mStkInput.icon != null) {
+ mPromptView.setVisibility(View.GONE);
+ } else {
+ mPromptView.setText(mStkInput.text);
+ }
// Set input type (alphabet/digit) info close to the InText form.
if (mStkInput.digitOnly) {