Merge "Fix the incorrect title for DISPLAY TEXT dialog." am: 2296b3cb2b
Change-Id: Ia7d01f117c287935282ddba8f07a07b6474c3d04
diff --git a/src/com/android/stk/StkAppService.java b/src/com/android/stk/StkAppService.java
index a1c59c0..3d23010 100644
--- a/src/com/android/stk/StkAppService.java
+++ b/src/com/android/stk/StkAppService.java
@@ -1094,13 +1094,6 @@
case DISPLAY_TEXT:
TextMessage msg = cmdMsg.geTextMessage();
waitForUsersResponse = msg.responseNeeded;
- if (mStkContext[slotId].lastSelectedItem != null) {
- msg.title = mStkContext[slotId].lastSelectedItem;
- } else if (mStkContext[slotId].mMainCmd != null){
- if (!getResources().getBoolean(R.bool.show_menu_title_only_on_menu)) {
- msg.title = mStkContext[slotId].mMainCmd.getMenu().title;
- }
- }
//If we receive a low priority Display Text and the device is
// not displaying any STK related activity and the screen is not idle
// ( that is, device is in an interactive state), then send a screen busy