Merge "Merge "Title: Auto connection not getting initiated after pairing" am: f3da869b76 am: 24ac7eebb4" into rvc-dev-plus-aosp
This commit is contained in:
committed by
Android (Google) Code Review
commit
a4583c0c47
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user