Clean bluetooth code
Fixing nit from Ib40a6264d8d6908103d76b6401ddcfd3ffa7dd88 Test: m ROBOTEST_FILTER="com.android.settings.bluetooth" RunSettingsRoboTests Test: Open developer settings Bug: 257158801 Change-Id: Id3521c423e5ab751633df627d113206f374fbe8e
This commit is contained in:
@@ -41,15 +41,13 @@ public class BluetoothMaxConnectedAudioDevicesPreferenceController extends
|
||||
|
||||
private int mDefaultMaxConnectedAudioDevices = 0;
|
||||
|
||||
private final BluetoothManager mBluetoothManager;
|
||||
|
||||
public BluetoothMaxConnectedAudioDevicesPreferenceController(Context context) {
|
||||
super(context);
|
||||
|
||||
mBluetoothManager = context.getSystemService(BluetoothManager.class);
|
||||
final BluetoothManager bluetoothManager = context.getSystemService(BluetoothManager.class);
|
||||
|
||||
mDefaultMaxConnectedAudioDevices =
|
||||
mBluetoothManager.getAdapter().getMaxConnectedAudioDevices();
|
||||
bluetoothManager.getAdapter().getMaxConnectedAudioDevices();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Reference in New Issue
Block a user