Loading src/com/android/settings/bluetooth/CachedBluetoothDevice.java +6 −0 Original line number Diff line number Diff line Loading @@ -383,6 +383,12 @@ public class CachedBluetoothDevice implements Comparable<CachedBluetoothDevice> connectWithoutResettingTimer(); } /*package*/ void onBondingDockConnect() { // Don't connect just set the timer. // TODO(): Fix the actual problem mConnectAttempted = SystemClock.elapsedRealtime(); } private void connectWithoutResettingTimer() { // Try to initialize the profiles if there were not. if (mProfiles.size() == 0) { Loading src/com/android/settings/bluetooth/CachedBluetoothDeviceManager.java +5 −1 Original line number Diff line number Diff line Loading @@ -186,7 +186,11 @@ public class CachedBluetoothDeviceManager { if (bondState == BluetoothDevice.BOND_BONDED) { // Auto-connect after pairing if (!device.isBluetoothDock()) { cachedDevice.connect(); } else { cachedDevice.onBondingDockConnect(); } } } Loading Loading
src/com/android/settings/bluetooth/CachedBluetoothDevice.java +6 −0 Original line number Diff line number Diff line Loading @@ -383,6 +383,12 @@ public class CachedBluetoothDevice implements Comparable<CachedBluetoothDevice> connectWithoutResettingTimer(); } /*package*/ void onBondingDockConnect() { // Don't connect just set the timer. // TODO(): Fix the actual problem mConnectAttempted = SystemClock.elapsedRealtime(); } private void connectWithoutResettingTimer() { // Try to initialize the profiles if there were not. if (mProfiles.size() == 0) { Loading
src/com/android/settings/bluetooth/CachedBluetoothDeviceManager.java +5 −1 Original line number Diff line number Diff line Loading @@ -186,7 +186,11 @@ public class CachedBluetoothDeviceManager { if (bondState == BluetoothDevice.BOND_BONDED) { // Auto-connect after pairing if (!device.isBluetoothDock()) { cachedDevice.connect(); } else { cachedDevice.onBondingDockConnect(); } } } Loading