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

* commit '1094b7d7699738be3193f5be8c451ea4c85461aa':
  Bluetooth: fix enableNoAutoConnect() call.
This commit is contained in:
Martijn Coenen
2012-08-03 12:14:45 -07:00
committed by Android Git Automerger

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