Unit test code for onCallStates change crash issue
Bug: 379126049
Flag: com.android.internal.telephony.flags.pass_copied_call_state_list
Test: atest FrameworksTelephonyTests
Change-Id: I9b393ff97ba1bf7a7fb716fa9006323c7db48019
diff --git a/flags/calling.aconfig b/flags/calling.aconfig
index 906abfc..3bd994f 100644
--- a/flags/calling.aconfig
+++ b/flags/calling.aconfig
@@ -70,3 +70,14 @@
description: "Used to notify the emergency callback mode for call/SMS to other applications."
bug:"359064059"
}
+
+# OWNER=sewookseo TARGET=25Q2
+flag {
+ name: "pass_copied_call_state_list"
+ namespace: "telephony"
+ description: "To prevent passing the TelephonyRegistry's original instance to listeners in the same process"
+ bug:"379126049"
+ metadata {
+ purpose: PURPOSE_BUGFIX
+ }
+}
\ No newline at end of file