Fix to unregister the mSmsBroadcastReceiver from CatService when the
process is disposed.
During some stress test this would cause issues as the maximum number of broadcast
receivers per process is 1000, casuing anything after that to not be
registered.
Bug: 338936403
Test: manual test removing/inserting psim and disable/enable esim
Change-Id: Iecf801ba4c9c9b463ff072f436d00dc967d90e80
diff --git a/flags/messaging.aconfig b/flags/messaging.aconfig
index 364d6aa..1030ba7 100644
--- a/flags/messaging.aconfig
+++ b/flags/messaging.aconfig
@@ -27,4 +27,15 @@
metadata {
purpose: PURPOSE_BUGFIX
}
+}
+
+# OWNER=stevestatia TARGET=24Q3
+flag {
+ name: "unregister_sms_broadcast_receiver_from_cat_service"
+ namespace: "telephony"
+ description: "This flag will unregister the sms broadcast receiver in the CatService when the process is disposed."
+ bug: "338936403"
+ metadata {
+ purpose: PURPOSE_BUGFIX
+ }
}
\ No newline at end of file