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

Commit eae9faed authored by Hall Liu's avatar Hall Liu
Browse files

Add stubs for the new background call audio APIs

Add AIDL stubs to get everything to compile

Test: compiles
Bug: 140317205
Change-Id: I3d1607fd008cad132bf75d90e0e42e968d752e34
parent 80f9553c
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;