Merge "Merge "Merge "Title: Auto connection not getting initiated after pairing" am: f3da869b76 am: 24ac7eebb4" into rvc-dev-plus-aosp am: a4583c0c47" into rvc-d1-dev-plus-aosp am: 58c1df478c

Change-Id: I7f3a43d9b4421d356cc30e11ef931597015e5bcf
This commit is contained in:
Automerger Merge Worker
2020-03-18 20:58:24 +00:00

View File

@@ -688,8 +688,8 @@ public class CachedBluetoothDevice implements Comparable<CachedBluetoothDevice>
* If a connect was attempted earlier without any UUID, we will do the connect now.
* Otherwise, allow the connect on UUID change.
*/
if (!mProfiles.isEmpty()
&& ((mConnectAttempted + timeout) > SystemClock.elapsedRealtime())) {
if ((mConnectAttempted + timeout) > SystemClock.elapsedRealtime()) {
Log.d(TAG, "onUuidChanged: triggering connectAllEnabledProfiles");
connectAllEnabledProfiles();
}