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

Commit a0a720f7 authored by Brad Ebinger's avatar Brad Ebinger
Browse files

Modify tests to conform with new API restrictions.

Test: atest FrameworksTelephonyTests
Change-Id: I55d2e6dd0343cecf1d45b5ec30350bbe270f1faf
parent aca44d3c
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@

package android.telephony.ims;

import android.os.Bundle;
import android.os.Message;
import android.os.RemoteException;
import android.telephony.ims.feature.CapabilityChangeRequest;
@@ -50,8 +51,8 @@ public class TestMmTelFeature extends MmTelFeature {
        }
    }

    public void incomingCall(ImsCallSessionImplBase c) throws RemoteException {
        notifyIncomingCall(c, null);
    public void incomingCall(ImsCallSessionImplBase c) {
        notifyIncomingCall(c, new Bundle());
    }

    @Override