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

Commit 92898293 authored by Safoorah Banu Shaik's avatar Safoorah Banu Shaik Committed by Bruno Martins
Browse files

Bluetooth: Rename bluetooth property to support new P Treble rules



- Renamed the property persist.vendor.bt.connect.peer_earbud to
  persist.vendor.btstack.connect.peer_earbud to support new P
  Treble rules.

 Conflicts:
	packages/SettingsLib/src/com/android/settingslib/bluetooth/CachedBluetoothDevice.java

CRs-Fixed: 2277397
Change-Id: I45dc740a45195154e2fe2a88a0384181fd0c7907
Signed-off-by: default avatarVolodymyr Zhdanov <wight554@gmail.com>
parent 37661a43
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -737,7 +737,7 @@ public class CachedBluetoothDevice implements Comparable<CachedBluetoothDevice>
        refresh();

        if (bondState == BluetoothDevice.BOND_BONDED) {
            if (SystemProperties.getBoolean("persist.vendor.bt.connect.peer_earbud", true)) {
            if (SystemProperties.getBoolean("persist.vendor.btstack.connect.peer_earbud", true)) {
                Log.d(TAG, "Initiating connection to" + mDevice);
                if (mDevice.isBondingInitiatedLocally() || mDevice.isTwsPlusDevice()) {
                    connect();