Merge "audio: Add CALL_SCREEN audio mode."
This commit is contained in:
commit
ac3a62a66a
3 changed files with 5 additions and 0 deletions
|
@ -250,7 +250,9 @@ package audio.policy.configuration.V6_0 {
|
|||
|
||||
public class GlobalConfiguration {
|
||||
ctor public GlobalConfiguration();
|
||||
method public boolean getCall_screen_mode_supported();
|
||||
method public boolean getSpeaker_drc_enabled();
|
||||
method public void setCall_screen_mode_supported(boolean);
|
||||
method public void setSpeaker_drc_enabled(boolean);
|
||||
}
|
||||
|
||||
|
|
|
@ -66,6 +66,7 @@
|
|||
</xs:element>
|
||||
<xs:complexType name="globalConfiguration">
|
||||
<xs:attribute name="speaker_drc_enabled" type="xs:boolean" use="required"/>
|
||||
<xs:attribute name="call_screen_mode_supported" type="xs:boolean" use="optional"/>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="modules">
|
||||
<xs:annotation>
|
||||
|
|
|
@ -556,6 +556,8 @@ enum AudioMode : int32_t {
|
|||
IN_CALL = 2,
|
||||
/** Calls handled by apps (Eg: Hangout). */
|
||||
IN_COMMUNICATION = 3,
|
||||
/** Call screening in progress */
|
||||
CALL_SCREEN = 4,
|
||||
};
|
||||
|
||||
@export(name="", value_prefix="AUDIO_DEVICE_")
|
||||
|
|
Loading…
Reference in a new issue