summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Jooyung Han <jooyung@google.com> 2021-08-12 17:30:32 +0900
committer Jooyung Han <jooyung@google.com> 2021-08-12 17:30:32 +0900
commitfb8ebe9f444443d28b560e560cd541954b3c2b08 (patch)
tree5471fe2ef3c737ce72ab9ea1eb8defc216c49fae
parenta4d60ac1eec88b2562f83386b00a564b6e040349 (diff)
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
-rw-r--r--core/java/android/accounts/IAccountManager.aidl3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/java/android/accounts/IAccountManager.aidl b/core/java/android/accounts/IAccountManager.aidl
index ce68e082cf4f..fb9ef53f41f6 100644
--- a/core/java/android/accounts/IAccountManager.aidl
+++ b/core/java/android/accounts/IAccountManager.aidl
@@ -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);