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

Commit 5e873e7d authored by Helen's avatar Helen
Browse files

[ImsMedia] Add the duration value for the received DTMF api as per updated imsmedia design

Bug: 265610926
Test: build (mm && m -j64)
Change-Id: I6806f5fcb5c78271b7b8a8f56b44e32272de990f
parent 608533c8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -41,6 +41,6 @@ interface IImsMediaSessionListener {
  oneway void notifyPacketLoss(int packetLossPercentage);
  oneway void notifyJitter(int jitter);
  oneway void triggerAnbrQuery(in android.hardware.radio.ims.media.RtpConfig config);
  oneway void onDtmfReceived(char dtmfDigit);
  oneway void onDtmfReceived(char dtmfDigit, int durationMs);
  oneway void onCallQualityChanged(in android.hardware.radio.ims.media.CallQuality callQuality);
}
+2 −1
Original line number Diff line number Diff line
@@ -95,8 +95,9 @@ oneway interface IImsMediaSessionListener {
     * Notifies the received DTMF digit from the other party
     *
     * @param dtmfDigit single char having one of 12 values: 0-9, *, #
     * @param durationMs The duration to play the tone in milliseconds unit
     */
    void onDtmfReceived(char dtmfDigit);
    void onDtmfReceived(char dtmfDigit, int durationMs);

    /**
     * Notifies when a change to call quality has occurred