Annotate Nullability for DevSettings fragment usage
Bug: 319310316 Change-Id: I4f2d219b818971e222346fc630c358b1d8b84ae9 Test: None
This commit is contained in:
@@ -49,12 +49,8 @@ public class BluetoothLeAudioAllowListPreferenceController
|
||||
BluetoothAdapter mBluetoothAdapter;
|
||||
@VisibleForTesting boolean mLeAudioConnectionByDefault;
|
||||
|
||||
private final DevelopmentSettingsDashboardFragment mFragment;
|
||||
|
||||
public BluetoothLeAudioAllowListPreferenceController(Context context,
|
||||
DevelopmentSettingsDashboardFragment fragment) {
|
||||
public BluetoothLeAudioAllowListPreferenceController(Context context) {
|
||||
super(context);
|
||||
mFragment = fragment;
|
||||
mBluetoothAdapter = context.getSystemService(BluetoothManager.class).getAdapter();
|
||||
mLeAudioConnectionByDefault =
|
||||
SystemProperties.getBoolean(LE_AUDIO_CONNECTION_BY_DEFAULT_PROPERTY, true);
|
||||
|
||||
Reference in New Issue
Block a user