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

Commit d4a1685c authored by Tyler Gunn's avatar Tyler Gunn
Browse files

Add test method to get ImsCall#Listener.

This supports unit testing.

Test: Part of a unit test.
Bug: 139169804
Change-Id: If61e47513a2bc89824dacce43308cf7a03037d64
Merged-In: If61e47513a2bc89824dacce43308cf7a03037d64
(cherry picked from commit 1fbf79e0)
parent 0dc56582
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -1752,6 +1752,14 @@ public class ImsCall implements ICall {
        return mImsCallSessionListenerProxy;
    }

    /**
     * @return the current Listener.  NOTE: ONLY FOR USE WITH TESTING.
     */
    @VisibleForTesting
    public Listener getListener() {
        return mListener;
    }

    private ImsCall createNewCall(ImsCallSession session, ImsCallProfile profile) {
        ImsCall call = new ImsCall(mContext, profile);