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
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user