Added account avatar in the end of search bar

Launched the adding account when click no account icon on search bar
Retreived the avatar of the account and show in the end of the search bar
Added getAccountSettingsDeeplinkIntent api into the AccountFeatureProvider

Bug: 118691898
Test: robotest
Change-Id: I25d69b8f4b6cf138f5e20fc22ce4ff26357bc107
This commit is contained in:
Sunny Shao
2018-11-05 15:14:39 +08:00
committed by Fan Zhang
parent 74f3077729
commit aebf84b857
4 changed files with 128 additions and 14 deletions

View File

@@ -2,6 +2,7 @@ package com.android.settings.accounts;
import android.accounts.Account;
import android.content.Context;
import android.content.Intent;
public class AccountFeatureProviderImpl implements AccountFeatureProvider {
@Override
@@ -13,4 +14,9 @@ public class AccountFeatureProviderImpl implements AccountFeatureProvider {
public Account[] getAccounts(Context context) {
return new Account[0];
}
@Override
public Intent getAccountSettingsDeeplinkIntent() {
return null;
}
}