Update api name
Use CachedBluetoothDevice.connect() instead of CachedBluetoothDevice.connect(boolean) to connect Bluetooth device. Fixes: 141582844 Test: manually Change-Id: I8c50678bdfd6de89fb8d56122bfa38bdd5ac5c9d
This commit is contained in:
@@ -79,7 +79,7 @@ public class BluetoothDetailsButtonsController extends BluetoothDetailsControlle
|
||||
.setButton2Text(R.string.bluetooth_device_context_connect)
|
||||
.setButton2Icon(R.drawable.ic_add_24dp)
|
||||
.setButton2OnClickListener(
|
||||
view -> mCachedDevice.connect(true /* connectAllProfiles */));
|
||||
view -> mCachedDevice.connect());
|
||||
mConnectButtonInitialized = true;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user