am 1d5e2e29: Merge "Bluetooth: Fix profile auto-connect logic" into mnc-dr-dev
* commit '1d5e2e291d4c3fbcde1425af74644a24c94e1577': Bluetooth: Fix profile auto-connect logic
This commit is contained in:
@@ -539,10 +539,10 @@ public final class CachedBluetoothDevice implements Comparable<CachedBluetoothDe
|
||||
* Otherwise, allow the connect on UUID change.
|
||||
*/
|
||||
if (!mProfiles.isEmpty()
|
||||
&& ((mConnectAttempted + timeout) > SystemClock.elapsedRealtime()
|
||||
|| (mConnectAttempted == 0))) {
|
||||
&& ((mConnectAttempted + timeout) > SystemClock.elapsedRealtime())) {
|
||||
connectWithoutResettingTimer(false);
|
||||
}
|
||||
|
||||
dispatchAttributesChanged();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user