We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0b24b1d + 10d7e8a commit 1094b7dCopy full SHA for 1094b7d
1 file changed
core/java/android/bluetooth/BluetoothAdapter.java
@@ -1246,10 +1246,8 @@ public void onBluetoothServiceDown() {
1246
* @hide
1247
*/
1248
public boolean enableNoAutoConnect() {
1249
- try {
1250
- return mService.enableNoAutoConnect();
1251
- } catch (RemoteException e) {Log.e(TAG, "", e);}
1252
- return false;
+ // TODO avoid auto-connect in the new stack.
+ return enable();
1253
}
1254
1255
/**
0 commit comments