mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-02 02:42:35 +00:00
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:
@@ -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 {
|
||||
|
||||
@@ -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">
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user