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

Commit 878d86fe authored by android-build-team Robot's avatar android-build-team Robot
Browse files

release-request-4be129b1-3f50-40d3-bbd4-30899b786745-for-git_oc-dr1-release-42...

release-request-4be129b1-3f50-40d3-bbd4-30899b786745-for-git_oc-dr1-release-4273712 snap-temp-L56000000093068720

Change-Id: I1d9166c61ae1b9e179d5f4d7fa1c6cbcacc8e6b9
parents 9fe3987a 7bd07276
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -296,6 +296,14 @@ public abstract class CallTracker extends Handler {
    public abstract PhoneConstants.State getState();
    protected abstract void log(String msg);

    /**
     * Called when the call tracker should attempt to reconcile its calls against its underlying
     * phone implementation and cleanup any stale calls.
     */
    public void cleanupCalls() {
        // no base implementation
    }

    public void dump(FileDescriptor fd, PrintWriter pw, String[] args) {
        pw.println("CallTracker:");
        pw.println(" mPendingOperations=" + mPendingOperations);
+9 −0
Original line number Diff line number Diff line
@@ -1672,4 +1672,13 @@ public class GsmCdmaCallTracker extends CallTracker {
                MAX_CONNECTIONS_PER_CALL_GSM :
                MAX_CONNECTIONS_PER_CALL_CDMA;
    }

    /**
     * Called to force the call tracker to cleanup any stale calls.  Does this by triggering
     * {@code GET_CURRENT_CALLS} on the RIL.
     */
    @Override
    public void cleanupCalls() {
        pollCallsWhenSafe();
    }
}