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

Commit 75bb4bfe authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Make AVRCP Target Java and Native use the same default version" into main

parents eb3c0525 8a073f46
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;