summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJordan Liu <jminjie@google.com>2020-05-14 21:12:29 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2020-05-14 21:12:29 +0000
commit2296b3cb2b35bf705018b902b08931e3b7c23d77 (patch)
tree8e7a1f4a33b87174324b11360c4285f96456f99b /src
parenta1ae8f3fc32c9d5d7b1641e2fdc1074ea63bece2 (diff)
parent18b3fe65bddc312bddcc65c209a5793755485dfe (diff)
downloadStk-2296b3cb2b35bf705018b902b08931e3b7c23d77.tar.gz
Merge "Fix the incorrect title for DISPLAY TEXT dialog."
Diffstat (limited to 'src')
-rw-r--r--src/com/android/stk/StkAppService.java7
1 files changed, 0 insertions, 7 deletions
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 @@ public class StkAppService extends Service implements Runnable {
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