audio: Add recommended mute duration attribute to APM XSD am: 22dc9b9aa4

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

Change-Id: I8bc454c0386a8d02410b417fcf9137b743260549
This commit is contained in:
Mikhail Naganov 2022-02-11 18:45:20 +00:00 committed by Automerger Merge Worker
commit f8548b969c
2 changed files with 3 additions and 0 deletions

View file

@ -462,6 +462,7 @@ package android.audio.policy.configuration.V7_1 {
method @Nullable public String getName();
method @Nullable public java.util.List<android.audio.policy.configuration.V7_1.AudioUsage> getPreferredUsage();
method @Nullable public java.util.List<android.audio.policy.configuration.V7_1.Profile> getProfile();
method @Nullable public long getRecommendedMuteDurationMs();
method @Nullable public android.audio.policy.configuration.V7_1.Role getRole();
method public void setFlags(@Nullable java.util.List<android.audio.policy.configuration.V7_1.AudioInOutFlag>);
method public void setGains(@Nullable android.audio.policy.configuration.V7_1.Gains);
@ -469,6 +470,7 @@ package android.audio.policy.configuration.V7_1 {
method public void setMaxOpenCount(@Nullable long);
method public void setName(@Nullable String);
method public void setPreferredUsage(@Nullable java.util.List<android.audio.policy.configuration.V7_1.AudioUsage>);
method public void setRecommendedMuteDurationMs(@Nullable long);
method public void setRole(@Nullable android.audio.policy.configuration.V7_1.Role);
}

View file

@ -226,6 +226,7 @@
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="recommendedMuteDurationMs" type="xs:unsignedInt"/>
</xs:complexType>
<xs:unique name="mixPortProfileUniqueness">
<xs:selector xpath="profile"/>