Merge "Fix bug where car dock sometimes doesn't connect." into gingerbread

This commit is contained in:
Jake Hamby
2010-10-11 13:05:11 -07:00
committed by Android (Google) Code Review

View File

@@ -218,9 +218,9 @@ public class CachedBluetoothDevice implements Comparable<CachedBluetoothDevice>
}
/*package*/ void onBondingDockConnect() {
// Don't connect just set the timer.
// TODO(): Fix the actual problem
mConnectAttempted = SystemClock.elapsedRealtime();
// Attempt to connect if UUIDs are available. Otherwise,
// we will connect when the ACTION_UUID intent arrives.
connect();
}
private void connectWithoutResettingTimer() {