[Telephony] Implement onDataEnabled callback

Bug: 147577230
Test: atest CtsTelephonyTestCases:PhoneStateListenerTest
Change-Id: I1b9fe50e4b805f5117fb6e03438dd0a09fbcfebc
Merged-In: I1b9fe50e4b805f5117fb6e03438dd0a09fbcfebc
This commit is contained in:
Zoey Chen
2020-11-04 18:05:33 +08:00
parent 45f58ae930
commit c9448b5efc
3 changed files with 59 additions and 43 deletions

View File

@@ -93,5 +93,5 @@ interface ITelephonyRegistry {
void notifyBarringInfoChanged(int slotIndex, int subId, in BarringInfo barringInfo);
void notifyPhysicalChannelConfigForSubscriber(in int subId,
in List<PhysicalChannelConfig> configs);
void notifyDataEnabled(boolean enabled, int reason);
void notifyDataEnabled(in int phoneId, int subId, boolean enabled, int reason);
}