Merge "Title: Auto connection not getting initiated after pairing" am: f3da869b76
Change-Id: Ie08cdb280d885d18950d5b4ba81466390a4560bd
This commit is contained in:
@@ -611,8 +611,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