Loading core/java/android/accounts/AccountManager.java +6 −6 Original line number Diff line number Diff line Loading @@ -680,7 +680,7 @@ public class AccountManager { /** * Lists all accounts visible to the caller regardless of type. Equivalent to * getAccountsByType(null). These accounts may be visible because the user granted access to the * account, or the AbstractAcccountAuthenticator managing the account did so or because the * account, or the AbstractAccountAuthenticator managing the account did so or because the * client shares a signature with the managing AbstractAccountAuthenticator. * * <div class="caution"><p><b>Caution: </b>This method returns personal and sensitive user data. Loading Loading @@ -769,7 +769,7 @@ public class AccountManager { /** * Lists all accounts of particular type visible to the caller. These accounts may be visible * because the user granted access to the account, or the AbstractAcccountAuthenticator managing * because the user granted access to the account, or the AbstractAccountAuthenticator managing * the account did so or because the client shares a signature with the managing * AbstractAccountAuthenticator. * Loading Loading @@ -802,7 +802,7 @@ public class AccountManager { * Caller targeting API level {@link android.os.Build.VERSION_CODES#O} and above, will get list * of accounts made visible to it by user * (see {@link #newChooseAccountIntent(Account, List, String[], String, * String, String[], Bundle)}) or AbstractAcccountAuthenticator * String, String[], Bundle)}) or AbstractAccountAuthenticator * using {@link #setAccountVisibility}. * {@link android.Manifest.permission#GET_ACCOUNTS} permission is not used. * Loading Loading @@ -950,7 +950,7 @@ public class AccountManager { * Caller targeting API level {@link android.os.Build.VERSION_CODES#O} and above, will get list * of accounts made visible to it by user * (see {@link #newChooseAccountIntent(Account, List, String[], String, * String, String[], Bundle)}) or AbstractAcccountAuthenticator * String, String[], Bundle)}) or AbstractAccountAuthenticator * using {@link #setAccountVisibility}. * {@link android.Manifest.permission#GET_ACCOUNTS} permission is not used. * Loading Loading @@ -2976,7 +2976,7 @@ public class AccountManager { /** * Adds an {@link OnAccountsUpdateListener} to this instance of the {@link AccountManager}. This * listener will be notified whenever user or AbstractAcccountAuthenticator made changes to * listener will be notified whenever user or AbstractAccountAuthenticator made changes to * accounts of any type related to the caller. This method is equivalent to * addOnAccountsUpdatedListener(listener, handler, updateImmediately, null) * Loading @@ -2990,7 +2990,7 @@ public class AccountManager { /** * Adds an {@link OnAccountsUpdateListener} to this instance of the {@link AccountManager}. This * listener will be notified whenever user or AbstractAcccountAuthenticator made changes to * listener will be notified whenever user or AbstractAccountAuthenticator made changes to * accounts of given types related to the caller - * either list of accounts returned by {@link #getAccounts()} * was changed, or new account was added for which user can grant access to the caller. Loading Loading
core/java/android/accounts/AccountManager.java +6 −6 Original line number Diff line number Diff line Loading @@ -680,7 +680,7 @@ public class AccountManager { /** * Lists all accounts visible to the caller regardless of type. Equivalent to * getAccountsByType(null). These accounts may be visible because the user granted access to the * account, or the AbstractAcccountAuthenticator managing the account did so or because the * account, or the AbstractAccountAuthenticator managing the account did so or because the * client shares a signature with the managing AbstractAccountAuthenticator. * * <div class="caution"><p><b>Caution: </b>This method returns personal and sensitive user data. Loading Loading @@ -769,7 +769,7 @@ public class AccountManager { /** * Lists all accounts of particular type visible to the caller. These accounts may be visible * because the user granted access to the account, or the AbstractAcccountAuthenticator managing * because the user granted access to the account, or the AbstractAccountAuthenticator managing * the account did so or because the client shares a signature with the managing * AbstractAccountAuthenticator. * Loading Loading @@ -802,7 +802,7 @@ public class AccountManager { * Caller targeting API level {@link android.os.Build.VERSION_CODES#O} and above, will get list * of accounts made visible to it by user * (see {@link #newChooseAccountIntent(Account, List, String[], String, * String, String[], Bundle)}) or AbstractAcccountAuthenticator * String, String[], Bundle)}) or AbstractAccountAuthenticator * using {@link #setAccountVisibility}. * {@link android.Manifest.permission#GET_ACCOUNTS} permission is not used. * Loading Loading @@ -950,7 +950,7 @@ public class AccountManager { * Caller targeting API level {@link android.os.Build.VERSION_CODES#O} and above, will get list * of accounts made visible to it by user * (see {@link #newChooseAccountIntent(Account, List, String[], String, * String, String[], Bundle)}) or AbstractAcccountAuthenticator * String, String[], Bundle)}) or AbstractAccountAuthenticator * using {@link #setAccountVisibility}. * {@link android.Manifest.permission#GET_ACCOUNTS} permission is not used. * Loading Loading @@ -2976,7 +2976,7 @@ public class AccountManager { /** * Adds an {@link OnAccountsUpdateListener} to this instance of the {@link AccountManager}. This * listener will be notified whenever user or AbstractAcccountAuthenticator made changes to * listener will be notified whenever user or AbstractAccountAuthenticator made changes to * accounts of any type related to the caller. This method is equivalent to * addOnAccountsUpdatedListener(listener, handler, updateImmediately, null) * Loading @@ -2990,7 +2990,7 @@ public class AccountManager { /** * Adds an {@link OnAccountsUpdateListener} to this instance of the {@link AccountManager}. This * listener will be notified whenever user or AbstractAcccountAuthenticator made changes to * listener will be notified whenever user or AbstractAccountAuthenticator made changes to * accounts of given types related to the caller - * either list of accounts returned by {@link #getAccounts()} * was changed, or new account was added for which user can grant access to the caller. Loading