Replaced send broadcast with user aware version
When device is running in HSUM mode, clients might be running
as a different user than system user. The broadcast needs to send
to all users to ensure both system and current user can receive it.
Bug: 362554272
Test: Manually test in HSUM devices
Test: atest FrameworksTelephonyTests
Flag: com.android.internal.telephony.flags.hsum_broadcast
Change-Id: I53fe535355ac7191ba499ac4d100b6c32f86bebd
diff --git a/flags/misc.aconfig b/flags/misc.aconfig
index 65ce401..a750331 100644
--- a/flags/misc.aconfig
+++ b/flags/misc.aconfig
@@ -195,3 +195,14 @@
purpose: PURPOSE_BUGFIX
}
}
+
+# OWNER=jackyu TARGET=25Q2
+flag {
+ name: "hsum_broadcast"
+ namespace: "telephony"
+ description: "Fixed the bug that broadcast intent is only sent to the system user."
+ bug:"362554272"
+ metadata {
+ purpose: PURPOSE_BUGFIX
+ }
+}