Add feature provider for Bluetooth
Also add method to check whether pairing page is enabled. Bug: 38134564 Test: RunSettingsGoogleRoboTests Change-Id: Ib74ece46f9624242895a366eac889957924f84c6
This commit is contained in:
@@ -22,6 +22,7 @@ import android.util.Log;
|
||||
|
||||
import com.android.settings.R;
|
||||
import com.android.settings.applications.ApplicationFeatureProvider;
|
||||
import com.android.settings.bluetooth.BluetoothFeatureProvider;
|
||||
import com.android.settings.core.instrumentation.MetricsFeatureProvider;
|
||||
import com.android.settings.dashboard.DashboardFeatureProvider;
|
||||
import com.android.settings.dashboard.suggestions.SuggestionFeatureProvider;
|
||||
@@ -97,6 +98,8 @@ public abstract class FeatureFactory {
|
||||
|
||||
public abstract UserFeatureProvider getUserFeatureProvider(Context context);
|
||||
|
||||
public abstract BluetoothFeatureProvider getBluetoothFeatureProvider(Context context);
|
||||
|
||||
public static final class FactoryNotFoundException extends RuntimeException {
|
||||
public FactoryNotFoundException(Throwable throwable) {
|
||||
super("Unable to create factory. Did you misconfigure Proguard?", throwable);
|
||||
|
||||
Reference in New Issue
Block a user