From 133879b6836c0d00f2c89bf480e48bbe14cfb536 Mon Sep 17 00:00:00 2001 From: Jooyung Han Date: Tue, 17 Aug 2021 14:36:04 +0900 Subject: [PATCH] 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 --- .../android/telephony/mbms/IMbmsGroupCallSessionCallback.aidl | 1 + .../android/telephony/mbms/vendor/IMbmsGroupCallService.aidl | 2 ++ telephony/java/com/android/internal/telephony/ITelephony.aidl | 1 + 3 files changed, 4 insertions(+) diff --git a/telephony/java/android/telephony/mbms/IMbmsGroupCallSessionCallback.aidl b/telephony/java/android/telephony/mbms/IMbmsGroupCallSessionCallback.aidl index 1a1c7f8af5df1..43273a41fbd5c 100755 --- a/telephony/java/android/telephony/mbms/IMbmsGroupCallSessionCallback.aidl +++ b/telephony/java/android/telephony/mbms/IMbmsGroupCallSessionCallback.aidl @@ -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); diff --git a/telephony/java/android/telephony/mbms/vendor/IMbmsGroupCallService.aidl b/telephony/java/android/telephony/mbms/vendor/IMbmsGroupCallService.aidl index 44cc24a839f2d..6e139ac5c462f 100755 --- a/telephony/java/android/telephony/mbms/vendor/IMbmsGroupCallService.aidl +++ b/telephony/java/android/telephony/mbms/vendor/IMbmsGroupCallService.aidl @@ -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); diff --git a/telephony/java/com/android/internal/telephony/ITelephony.aidl b/telephony/java/com/android/internal/telephony/ITelephony.aidl index 9b2f119ac77d7..ae5f997360cd2 100644 --- a/telephony/java/com/android/internal/telephony/ITelephony.aidl +++ b/telephony/java/com/android/internal/telephony/ITelephony.aidl @@ -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); /**