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

Commit fb8ebe9f authored by Jooyung Han's avatar Jooyung Han
Browse files

Suppress AIDL warnings: untyped-collection

For now AIDL doesn't support Map<String,Integer>, there's no way to fix
it with typed map.

Bug: 192615532
Test: m
Change-Id: Id0011372a0997b4ab9aa700a7c4f8746bff29189
parent a4d60ac1
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -105,12 +105,15 @@ interface IAccountManager {
        String statusToken);

    /* Returns Map<String, Integer> from package name to visibility with all values stored for given account */
    @SuppressWarnings(value = {"untyped-collection"})
    Map getPackagesAndVisibilityForAccount(in Account account);
    @SuppressWarnings(value = {"untyped-collection"})
    boolean addAccountExplicitlyWithVisibility(in Account account, String password, in Bundle extras,
            in Map visibility);
    boolean setAccountVisibility(in Account a, in String packageName, int newVisibility);
    int getAccountVisibility(in Account a, in String packageName);
    /* Type may be null returns Map <Account, Integer>*/
    @SuppressWarnings(value = {"untyped-collection"})
    Map getAccountsAndVisibilityForPackage(in String packageName, in String accountType);

    void registerAccountListener(in String[] accountTypes, String opPackageName);