audio: Update audioPolicyConfiguration version am: 8a52581b09

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1576844

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I454bf0d8f50e690a1d2b288399226b7d38fa7f91
This commit is contained in:
Mikhail Naganov
2021-02-05 23:03:56 +00:00
committed by Automerger Merge Worker
3 changed files with 5 additions and 2 deletions

View File

@@ -544,7 +544,7 @@ package android.audio.policy.configuration.V7_0 {
public enum Version {
method @NonNull public String getRawName();
enum_constant public static final android.audio.policy.configuration.V7_0.Version _1_0;
enum_constant public static final android.audio.policy.configuration.V7_0.Version _7_0;
}
public class Volume {

View File

@@ -20,7 +20,7 @@
<!-- List the config versions supported by audio policy. -->
<xs:simpleType name="version">
<xs:restriction base="xs:decimal">
<xs:enumeration value="1.0"/>
<xs:enumeration value="7.0"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="halVersion">

View File

@@ -113,6 +113,9 @@ echo "Will update paths to shared included files."
echo "Press Ctrl-C to cancel, Enter to continue"
read
# Update 'audioPolicyConfiguration version="1.0"' -> 7.0 in the main file
sed -i -r -e 's/(audioPolicyConfiguration version=")1.0/\17.0/' ${SOURCE_CONFIG}
updateFile() {
FILE=$1
ATTR=$2