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

Commit 8a073f46 authored by Sal Savage's avatar Sal Savage
Browse files

Make AVRCP Target Java and Native use the same default version

Tag: #stability
Bug: 291599892
Test: atest BluetoothInstrumentationTests
Change-Id: Ie159e0749c777727f2a35cb7d106553f63da3fc9
parent 9481e51a
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -38,7 +38,8 @@ final class AvrcpVersion {
    public int minor;

    public static AvrcpVersion getCurrentSystemPropertiesValue() {
        String version = SystemProperties.get(AVRCP_VERSION_PROPERTY);
        // Make sure this default version agrees with avrc_api.h's "AVRC_DEFAULT_VERSION"
        String version = SystemProperties.get(AVRCP_VERSION_PROPERTY, AVRCP_VERSION_1_5_STRING);
        switch (version) {
            case AVRCP_VERSION_1_3_STRING:
                return AVRCP_VERSION_1_3;