Explicitly setAccount in the same way as setHasInternet.
Bug: 28141203 This frees adapter from updating account and internet internally, and allows refreshData() be private. Change-Id: I8ccb4311c48c66222ee19e2d01b1c4943acdb0ee
This commit is contained in:
@@ -18,7 +18,6 @@ package com.android.settings.overlay;
|
||||
|
||||
import android.accounts.Account;
|
||||
import android.annotation.IntDef;
|
||||
import android.annotation.NonNull;
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
|
||||
@@ -51,8 +50,7 @@ public interface SupportFeatureProvider {
|
||||
/**
|
||||
* Returns an {@link Account} that's eligible for support options.
|
||||
*/
|
||||
@NonNull
|
||||
Account[] getSupportEligibleAccounts(Context context);
|
||||
Account getSupportEligibleAccount(Context context);
|
||||
|
||||
/**
|
||||
* Returns an {@link Intent} that opens email support for specified account.
|
||||
|
Reference in New Issue
Block a user