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

Commit 1d745b38 authored by jiabin's avatar jiabin
Browse files

Add HAL version 5.0 for getHalVersion API.

Hal version 5.0 was missed by mistakes. Adding it back to avoid test
failure.

Bug: 227231242
Test: atest AudioManagerTest
Change-Id: I4c847cbd3d43ca3ce599d41fca1a83c57aa38d35
parent 4b2ee74e
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -10472,7 +10472,8 @@ public class AudioService extends IAudioService.Stub
        return mMediaFocusControl.sendFocusLoss(focusLoser);
    }

    private static final String[] HAL_VERSIONS = new String[] {"7.1", "7.0", "6.0", "4.0", "2.0"};
    private static final String[] HAL_VERSIONS =
            new String[] {"7.1", "7.0", "6.0", "5.0", "4.0", "2.0"};

    /** @see AudioManager#getHalVersion */
    public @Nullable String getHalVersion() {