Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 71c471f0 authored by yongnamcha's avatar yongnamcha
Browse files

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
parent cd4bc44f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment