telephony: suppress warnings in AIDL

Warnings from using untyped List/Map. For now these List/Map can't be
migrated to typed ones because AIDL List/Map doesn't support Integer as
key/value types.

Bug: 192615532
Test: m
Change-Id: If55364b4ad4dc5660871f7eef051e12ec0399a70
This commit is contained in:
Jooyung Han
2021-08-17 14:36:04 +09:00
parent bfc5088c1d
commit 133879b683
3 changed files with 4 additions and 0 deletions

View File

@@ -25,6 +25,7 @@ oneway interface IMbmsGroupCallSessionCallback
{
void onError(int errorCode, String message);
@SuppressWarnings(value={"untyped-collection"})
void onAvailableSaisUpdated(in List currentSai, in List availableSais);
void onServiceInterfaceAvailable(String interfaceName, int index);

View File

@@ -29,9 +29,11 @@ interface IMbmsGroupCallService
void stopGroupCall(int subId, long tmgi);
@SuppressWarnings(value={"untyped-collection"})
void updateGroupCall(int subscriptionId, long tmgi, in List saiList,
in List frequencyList);
@SuppressWarnings(value={"untyped-collection"})
int startGroupCall(int subscriptionId, long tmgi, in List saiList,
in List frequencyList, IGroupCallCallback callback);

View File

@@ -1961,6 +1961,7 @@ interface ITelephony {
/**
* Return the emergency number list from all the active subscriptions.
*/
@SuppressWarnings(value={"untyped-collection"})
Map getEmergencyNumberList(String callingPackage, String callingFeatureId);
/**