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

Commit 3b3fbb97 authored by Mikhail Naganov's avatar Mikhail Naganov
Browse files

AudioDeviceBroker: Fix the wrong system property name

The correct system property name is `bluetooth.sco.managed_by_audio`,
not `audio.sco.managed.by.audio` .

See system/libsysprop/srcs/android/sysprop/BluetoothProperties.sysprop

Flag: DOCS_ONLY
Bug: 416640654
Test: m
Change-Id: I0ef6b798e4c66d134a317b8248eb385971ebe111
parent 2c3cd8c1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -201,7 +201,7 @@ public class AudioDeviceBroker {

    /** Indicates if headset profile connection and SCO audio control use the new implementation
     * aligned with other BT profiles. True if both the feature flag Flags.scoManagedByAudio() and
     * the system property audio.sco.managed.by.audio are true.
     * the system property bluetooth.sco.managed_by_audio are true.
     */
    private final boolean mScoManagedByAudio;
    /*package*/ boolean isScoManagedByAudio() {