Add mechanism to add accessibility service or activity into bluetooth 'Related' category am: 02b373522a am: 99e5fe760a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17472403 Change-Id: I2674a27be6bade64b028fdd2f1cc9118ed544c85 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -149,7 +149,10 @@ public abstract class FeatureFactory {
|
||||
|
||||
public abstract ContextualCardFeatureProvider getContextualCardFeatureProvider(Context context);
|
||||
|
||||
public abstract BluetoothFeatureProvider getBluetoothFeatureProvider(Context context);
|
||||
/**
|
||||
* Retrieves implementation for Bluetooth feature.
|
||||
*/
|
||||
public abstract BluetoothFeatureProvider getBluetoothFeatureProvider();
|
||||
|
||||
public abstract AwareFeatureProvider getAwareFeatureProvider();
|
||||
|
||||
|
||||
@@ -283,10 +283,9 @@ public class FeatureFactoryImpl extends FeatureFactory {
|
||||
}
|
||||
|
||||
@Override
|
||||
public BluetoothFeatureProvider getBluetoothFeatureProvider(Context context) {
|
||||
public BluetoothFeatureProvider getBluetoothFeatureProvider() {
|
||||
if (mBluetoothFeatureProvider == null) {
|
||||
mBluetoothFeatureProvider = new BluetoothFeatureProviderImpl(
|
||||
context.getApplicationContext());
|
||||
mBluetoothFeatureProvider = new BluetoothFeatureProviderImpl(getAppContext());
|
||||
}
|
||||
return mBluetoothFeatureProvider;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user