FP4-2257 [Orange][USIM&SIM_Mobile Connect]Code Personnel signature by LoA3 tests-d. LoA3 wake up-LoA3_WU_01 management of Code Personnel LoA3 sessions and notifications with device in idle mode
Change-Id: I56a27d7b25d20bb04877480a497830fabd712fc6
diff --git a/src/com/android/stk/StkAppService.java b/src/com/android/stk/StkAppService.java
index d02110d..23a24e3 100644
--- a/src/com/android/stk/StkAppService.java
+++ b/src/com/android/stk/StkAppService.java
@@ -1716,12 +1716,15 @@
builder.setContentText(message);
Menu menu = getMainMenu(slotId);
- if (menu == null || TextUtils.isEmpty(menu.title)) {
+ // add by T2M.zhangrenjie for FP4-2257 2021-08-20 begin
+
+ /*if (menu == null || TextUtils.isEmpty(menu.title)) {
builder.setContentTitle("");
} else {
builder.setContentTitle(menu.title);
- }
-
+ }*/
+ // add by T2M.zhangrenjie for FP4-2257 2021-08-20 end
+ builder.setContentTitle("");
builder.setSmallIcon(R.drawable.stat_notify_sim_toolkit);
builder.setOngoing(true);
builder.setOnlyAlertOnce(true);
@@ -2193,12 +2196,15 @@
createAllChannels();
final Notification.Builder notificationBuilder = new Notification.Builder(
StkAppService.this, STK_NOTIFICATION_CHANNEL_ID);
- if (mStkContext[slotId].mMainCmd != null &&
+ // add by T2M.zhangrenjie for FP4-2257 2021-08-20 begin
+ /*if (mStkContext[slotId].mMainCmd != null &&
mStkContext[slotId].mMainCmd.getMenu() != null) {
notificationBuilder.setContentTitle(mStkContext[slotId].mMainCmd.getMenu().title);
} else {
notificationBuilder.setContentTitle("");
- }
+ }*/
+ notificationBuilder.setContentTitle("");
+ // add by T2M.zhangrenjie for FP4-2257 2021-08-20 end
notificationBuilder
.setSmallIcon(R.drawable.stat_notify_sim_toolkit);
notificationBuilder.setContentIntent(pendingIntent);