Launch view account page when it's available.
- Add to launch the new Contextual Landing Page when user clicks the avatar icon and check the matching intent activity exist. - Use the serialized intent and keeps in config.xml. - Remove the getAccountSettingsDeeplinkIntent in the AccountFeatureProvider which never use again. Change-Id: I50396af67eb04034572f8c885b4d9aef48a67e9d Fixes: 122486552 Test: robotest
This commit is contained in:
@@ -2,7 +2,6 @@ package com.android.settings.accounts;
|
||||
|
||||
import android.accounts.Account;
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
|
||||
public class AccountFeatureProviderImpl implements AccountFeatureProvider {
|
||||
@Override
|
||||
@@ -14,9 +13,4 @@ public class AccountFeatureProviderImpl implements AccountFeatureProvider {
|
||||
public Account[] getAccounts(Context context) {
|
||||
return new Account[0];
|
||||
}
|
||||
|
||||
@Override
|
||||
public Intent getAccountSettingsDeeplinkIntent() {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user