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
This commit is contained in:
jiabin
2022-03-28 14:03:31 -07:00
parent 4b2ee74ebd
commit 1d745b38c8

View File

@@ -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() {