Fix bug where car dock sometimes doesn't connect.
Attempt to connect to car/desk dock after pairing completes. This fixes a bug where we didn't try to connect if we received the UUID change intent before the bonding state change intent. Change-Id: I7c12a4eb23d17d506e43a64bf2a3aa5241debcb9
This commit is contained in:
@@ -218,9 +218,9 @@ public class CachedBluetoothDevice implements Comparable<CachedBluetoothDevice>
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*package*/ void onBondingDockConnect() {
|
/*package*/ void onBondingDockConnect() {
|
||||||
// Don't connect just set the timer.
|
// Attempt to connect if UUIDs are available. Otherwise,
|
||||||
// TODO(): Fix the actual problem
|
// we will connect when the ACTION_UUID intent arrives.
|
||||||
mConnectAttempted = SystemClock.elapsedRealtime();
|
connect();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void connectWithoutResettingTimer() {
|
private void connectWithoutResettingTimer() {
|
||||||
|
Reference in New Issue
Block a user