Merge "Support self-explanatory icon for GET INKEY and GET INPUT commands"
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) {