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

Commit 133879b6 authored by Jooyung Han's avatar Jooyung Han
Browse files

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
parent bfc5088c
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -25,6 +25,7 @@ oneway interface IMbmsGroupCallSessionCallback
{
{
    void onError(int errorCode, String message);
    void onError(int errorCode, String message);


    @SuppressWarnings(value={"untyped-collection"})
    void onAvailableSaisUpdated(in List currentSai, in List availableSais);
    void onAvailableSaisUpdated(in List currentSai, in List availableSais);


    void onServiceInterfaceAvailable(String interfaceName, int index);
    void onServiceInterfaceAvailable(String interfaceName, int index);
+2 −0
Original line number Original line Diff line number Diff line
@@ -29,9 +29,11 @@ interface IMbmsGroupCallService


    void stopGroupCall(int subId, long tmgi);
    void stopGroupCall(int subId, long tmgi);


    @SuppressWarnings(value={"untyped-collection"})
    void updateGroupCall(int subscriptionId, long tmgi, in List saiList,
    void updateGroupCall(int subscriptionId, long tmgi, in List saiList,
        in List frequencyList);
        in List frequencyList);


    @SuppressWarnings(value={"untyped-collection"})
    int startGroupCall(int subscriptionId, long tmgi, in List saiList,
    int startGroupCall(int subscriptionId, long tmgi, in List saiList,
        in List frequencyList, IGroupCallCallback callback);
        in List frequencyList, IGroupCallCallback callback);


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


    /**
    /**