diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-05-17 21:06:23 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-05-17 21:06:23 +0000 |
commit | fcbe4eabdfc63aadaf980700c0cf1013101faaa6 (patch) | |
tree | 5bee4a6ea150bb96a0a89011be469c95b63b96a0 /src | |
parent | 0c292ef2132fbbee26d829e4cedbf21871ae1036 (diff) | |
parent | 999467507f094e9b480c1c2b8da9a09fcd5ae712 (diff) | |
download | Contacts-android-platform-12.1.0_r5.tar.gz |
Snap for 8589293 from 999467507f094e9b480c1c2b8da9a09fcd5ae712 to sc-v2-platform-releaseandroid-platform-12.1.0_r9android-platform-12.1.0_r8android-platform-12.1.0_r7android-platform-12.1.0_r6android-platform-12.1.0_r5android-platform-12.1.0_r4android-platform-12.1.0_r19android-platform-12.1.0_r18android-platform-12.1.0_r17android-platform-12.1.0_r16android-platform-12.1.0_r15android-platform-12.1.0_r14android-platform-12.1.0_r13android-platform-12.1.0_r12android-platform-12.1.0_r11android-platform-12.1.0_r10
Change-Id: I44ad0f58c8c73c80c8aac46ebc961135c3ec8679
Diffstat (limited to 'src')
-rw-r--r-- | src/com/android/contacts/SimImportService.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/com/android/contacts/SimImportService.java b/src/com/android/contacts/SimImportService.java index 4c7473107..f6703fc0d 100644 --- a/src/com/android/contacts/SimImportService.java +++ b/src/com/android/contacts/SimImportService.java @@ -15,6 +15,8 @@ */ package com.android.contacts; +import static android.app.PendingIntent.FLAG_IMMUTABLE; + import android.app.Notification; import android.app.NotificationManager; import android.app.PendingIntent; @@ -196,7 +198,7 @@ public class SimImportService extends Service { .setContentTitle(this.getString(R.string.importing_sim_finished_title)) .setColor(this.getResources().getColor(R.color.dialtacts_theme_color)) .setSmallIcon(R.drawable.quantum_ic_done_vd_theme_24) - .setContentIntent(PendingIntent.getActivity(this, 0, intent, 0)); + .setContentIntent(PendingIntent.getActivity(this, 0, intent, FLAG_IMMUTABLE)); return builder.build(); } @@ -210,7 +212,7 @@ public class SimImportService extends Service { .setContentText(this.getString(R.string.importing_sim_failed_message)) .setColor(this.getResources().getColor(R.color.dialtacts_theme_color)) .setSmallIcon(R.drawable.quantum_ic_error_vd_theme_24) - .setContentIntent(PendingIntent.getActivity(this, 0, intent, 0)); + .setContentIntent(PendingIntent.getActivity(this, 0, intent, FLAG_IMMUTABLE)); return builder.build(); } |