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

Commit f691f7d0 authored by Thomas Stuart's avatar Thomas Stuart Committed by Automerger Merge Worker
Browse files

Merge "send call events directly to InCallSerivces (for transactional calls)"...

Merge "send call events directly to InCallSerivces (for transactional calls)" into udc-dev am: e71535b2 am: 8deddd60 am: 72278c2f

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/services/Telecomm/+/23009281



Change-Id: I04ceef0521d0895428235866b1f465177deea009
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 19a6883c 72278c2f
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -4116,6 +4116,15 @@ public class Call implements CreateConnectionResponse, EventManager.Loggable,
     * @param extras The extras.
     */
    public void onConnectionEvent(String event, Bundle extras) {
        if (mIsTransactionalCall) {
            // send the Event directly to the ICS via the InCallController listener
            for (Listener l : mListeners) {
                l.onConnectionEvent(this, event, extras);
            }
            // Don't run the below block since it applies to Calls that are attached to a
            // ConnectionService
            return;
        }
        // Don't log call quality reports; they're quite frequent and will clog the log.
        if (!Connection.EVENT_CALL_QUALITY_REPORT.equals(event)) {
            Log.addEvent(this, LogUtils.Events.CONNECTION_EVENT, event);