Combine handling AIDL binder death
The change revive ag/22110298, which was reverted due to interaction with mock modem. The CTS issue was that upon unbinding mock modem, the mocked hal version wasn't cleared when attempting to get radio service, so the radio service is falsely considered as disabled, hence future query will always think it's disabled.
Test: atest RIL
Test: atest android/telephony/cts/TelephonyManagerTestOnMockModem.java
Test: trigger modem crash and verify recovery
Test: voice call + data browsing
Fix: 319612362
Change-Id: Id953a3c7ec6c52b5b81f8828a286b2da91bec46b
diff --git a/flags/misc.aconfig b/flags/misc.aconfig
index a491665..1a23279 100644
--- a/flags/misc.aconfig
+++ b/flags/misc.aconfig
@@ -1,6 +1,17 @@
package: "com.android.internal.telephony.flags"
container: "system"
+# OWNER=linggm TARGET=24Q3
+flag {
+ name: "combine_ril_death_handle"
+ namespace: "telephony"
+ description: "Upon radio service death, combine its handling to prevent race condition"
+ bug:"319612362"
+ metadata {
+ purpose: PURPOSE_BUGFIX
+ }
+}
+
# OWNER=tjstuart TARGET=24Q3
flag {
name: "do_not_override_precise_label"