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

Commit e7cfc0d6 authored by Hall Liu's avatar Hall Liu Committed by android-build-merger
Browse files

Merge "Add stubs for the new background call audio APIs" am: 0bd3b8e2 am: 07855668

am: 0ffa19c0

Change-Id: If57cd5ad46d144e70c27630c3eb1429ebef03d59
parents 6a2a99cd 0ffa19c0
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -67,6 +67,11 @@ public class CallScreeningServiceHelper {
            // no-op; we don't allow this on outgoing calls.
        }

        @Override
        public void screenCallFurther(String callId) throws RemoteException {
            // no-op; we don't allow this on outgoing calls.
        }

        @Override
        public void disallowCall(String s, boolean b, boolean b1, boolean b2,
                ComponentName componentName) throws RemoteException {
+11 −0
Original line number Diff line number Diff line
@@ -19,6 +19,7 @@ package com.android.server.telecom;
import android.net.Uri;
import android.os.Binder;
import android.os.Bundle;
import android.os.RemoteException;
import android.telecom.Log;
import android.telecom.PhoneAccountHandle;

@@ -318,6 +319,16 @@ class InCallAdapter extends IInCallAdapter.Stub {
        }
    }

    @Override
    public void enterBackgroundAudioProcessing(String callId) {
        // TODO: implement this
    }

    @Override
    public void exitBackgroundAudioProcessing(String callId, boolean shouldRing) {
        // TODO: implement this
    }

    @Override
    public void conference(String callId, String otherCallId) {
        try {
+5 −0
Original line number Diff line number Diff line
@@ -177,6 +177,11 @@ public class CallScreeningServiceFilter {
                Log.endSession();
            }
        }

        @Override
        public void screenCallFurther(String callId) {
            // TODO: implement this
        }
    }

    private final Context mContext;