Merge "Bluetooth: fix enableNoAutoConnect() call." into jb-mr1-dev

This commit is contained in:
Martijn Coenen
2012-08-03 12:12:11 -07:00
committed by Android (Google) Code Review

View File

@@ -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();
}
/**