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

Commit 0bd3b8e2 authored by Hall Liu's avatar Hall Liu Committed by Gerrit Code Review
Browse files

Merge "Add stubs for the new background call audio APIs"

parents 0b3ad7c1 eae9faed
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;