diff options
author | James.cf Lin <jamescflin@google.com> | 2021-02-04 04:30:33 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-02-04 04:30:33 +0000 |
commit | e075d3b31c2fb0121fecdb741c61ea1bcb0eeb61 (patch) | |
tree | 448a59f9ccb6e97db8767681c47e79783a5f2c13 | |
parent | 0496e38cc9adba0b79cbb1792bf5794c6fe30939 (diff) | |
parent | e7a4144570fa219b024e1d65de1afe9655550440 (diff) | |
download | ims-e075d3b31c2fb0121fecdb741c61ea1bcb0eeb61.tar.gz |
Add the immutable flag to the PendingIntent of retry alarm in RcsStackAdaptor am: e7a4144570
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/ims/+/13472434
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ie376022fa7a19abde37743ab1281bf920e7ca41b
-rw-r--r-- | rcs/rcsservice/src/com/android/service/ims/RcsStackAdaptor.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/rcs/rcsservice/src/com/android/service/ims/RcsStackAdaptor.java b/rcs/rcsservice/src/com/android/service/ims/RcsStackAdaptor.java index 239ebaa..e279c83 100644 --- a/rcs/rcsservice/src/com/android/service/ims/RcsStackAdaptor.java +++ b/rcs/rcsservice/src/com/android/service/ims/RcsStackAdaptor.java @@ -696,10 +696,8 @@ public class RcsStackAdaptor implements PresencePublisher, SubscribePublisher { Intent intent = new Intent(ACTION_RETRY_ALARM); intent.putExtra("times", times); intent.setPackage(mContext.getPackageName()); - // TODO(b/173539899): Please replace FLAG_MUTABLE_UNAUDITED below - // with either FLAG_IMMUTABLE (recommended) or FLAG_MUTABLE. mRetryAlarmIntent = PendingIntent.getBroadcast(mContext, 0, intent, - PendingIntent.FLAG_UPDATE_CURRENT | PendingIntent.FLAG_MUTABLE_UNAUDITED); + PendingIntent.FLAG_UPDATE_CURRENT | PendingIntent.FLAG_IMMUTABLE); // Wait for 1s to ignore duplicate init request as possible as we can. long timeSkip = 1000; |