Remove old accounts tile, replaced by a separate screen
Bug: 15815948 Bug: 15819268 Change-Id: I3b6978cff346c73cca1d6a2c209ffe4c71808244
This commit is contained in:
@@ -171,9 +171,7 @@ final public class AuthenticatorHelper extends BroadcastReceiver {
|
||||
return false;
|
||||
}
|
||||
|
||||
public void onAccountsUpdated(Account[] accounts) {
|
||||
// TODO: Revert to non-public once no longer needed in SettingsActivity
|
||||
// See http://b/15819268
|
||||
void onAccountsUpdated(Account[] accounts) {
|
||||
updateAuthDescriptions(mContext);
|
||||
if (accounts == null) {
|
||||
accounts = AccountManager.get(mContext).getAccountsAsUser(mUserHandle.getIdentifier());
|
||||
@@ -193,6 +191,7 @@ final public class AuthenticatorHelper extends BroadcastReceiver {
|
||||
|
||||
@Override
|
||||
public void onReceive(final Context context, final Intent intent) {
|
||||
// TODO: watch for package upgrades to invalidate cache; see http://b/7206643
|
||||
final Account[] accounts = AccountManager.get(mContext)
|
||||
.getAccountsAsUser(mUserHandle.getIdentifier());
|
||||
onAccountsUpdated(accounts);
|
||||
|
Reference in New Issue
Block a user