diff options
author | Jordan Liu <jminjie@google.com> | 2021-02-19 15:29:14 -0800 |
---|---|---|
committer | Jordan Liu <jminjie@google.com> | 2021-02-22 19:37:24 +0000 |
commit | 79bc942a62ae45cefc035b31139538e8ee041079 (patch) | |
tree | 9d65c1de8c7dabd3889aa746d471f742b3fa6834 /src | |
parent | bb15898852b9115c6c4f2bfbb387e29f43b33b89 (diff) | |
download | Stk-79bc942a62ae45cefc035b31139538e8ee041079.tar.gz |
Make intent immutable
Bug: 179047632
Test: build
Change-Id: Ief2c93d2f59f1b0e442694f24871116f515f6260
(cherry picked from commit e030178897b44aebb610cc3157c2b5cd2fb81ea3)
Diffstat (limited to 'src')
-rw-r--r-- | src/com/android/stk/StkAppService.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/stk/StkAppService.java b/src/com/android/stk/StkAppService.java index 4b252d4..7b9f5b1 100644 --- a/src/com/android/stk/StkAppService.java +++ b/src/com/android/stk/StkAppService.java @@ -2134,7 +2134,7 @@ public class StkAppService extends Service implements Runnable { + "] icon[" + msg.icon + "], sim id: " + slotId); CatLog.d(LOG_TAG, "Add IdleMode text"); PendingIntent pendingIntent = PendingIntent.getService(mContext, 0, - new Intent(mContext, StkAppService.class), 0); + new Intent(mContext, StkAppService.class), PendingIntent.FLAG_IMMUTABLE); createAllChannels(); final Notification.Builder notificationBuilder = new Notification.Builder( StkAppService.this, STK_NOTIFICATION_CHANNEL_ID); |