Merge "Bluetooth: fix enableNoAutoConnect() call." into jb-mr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
1094b7d769
@@ -1246,10 +1246,8 @@ public final class BluetoothAdapter {
|
||||
* @hide
|
||||
*/
|
||||
public boolean enableNoAutoConnect() {
|
||||
try {
|
||||
return mService.enableNoAutoConnect();
|
||||
} catch (RemoteException e) {Log.e(TAG, "", e);}
|
||||
return false;
|
||||
// TODO avoid auto-connect in the new stack.
|
||||
return enable();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user