Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 405e895c authored by Sanket Padawe's avatar Sanket Padawe Committed by Android (Google) Code Review
Browse files

Merge "Fix issue related selecting of "Contact sharing" in BT Settings." into mnc-dev

parents a0b77dd5 78c23767
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -807,9 +807,11 @@ public final class CachedBluetoothDevice implements Comparable<CachedBluetoothDe
        if (BluetoothUuid.containsAnyUuid(uuids, PbapServerProfile.PBAB_CLIENT_UUIDS)) {
            // The pairing dialog now warns of phone-book access for paired devices.
            // No separate prompt is displayed after pairing.
            if (getPhonebookPermissionChoice() == CachedBluetoothDevice.ACCESS_UNKNOWN) {
                setPhonebookPermissionChoice(CachedBluetoothDevice.ACCESS_ALLOWED);
            }
        }
    }

    public int getMaxConnectionState() {
        int maxState = BluetoothProfile.STATE_DISCONNECTED;