API review : Updates the API for CallbackMode for call and SMS
This commit updates the API for CallbackMode for Call and SMS according
to the API council review.
API review comment:
1. subId should be spelled out in full as subscriptionId in method
calls.
2. The EmergencyCallbackModeListener methods shouldn’t require
permissions, it’s expected that only the registration method has
the permission. The extra annotations can confuse the API.
Bug: 376118639
Test: atest CtsTelephonyTestCases:TelephonyCallbackTest,
atest CtsTelephonyTestCases:TelephonyRegistryManagerTest
Test: atest TelephonyRegistryTest, atest DefaultPhoneNotifierTest
Flag: com.android.internal.telephony.flags.emergency_callback_mode_notification
Change-Id: I51d62c6c8a555c8c8fb05d9186e1324bfd0a3bb2
2 files changed