Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ac3a62a6 authored by Eric Laurent's avatar Eric Laurent Committed by Android (Google) Code Review
Browse files

Merge "audio: Add CALL_SCREEN audio mode."

parents 9cd7668f 040bfea9
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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);
  }

+1 −0
Original line number Diff line number Diff line
@@ -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>
+2 −0
Original line number Diff line number Diff line
@@ -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_")