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

Commit 09a13977 authored by Tyler Gunn's avatar Tyler Gunn Committed by Gerrit Code Review
Browse files

Merge "Add missing telecom locks."

parents 733b7e1f a70441af
Loading
Loading
Loading
Loading
+8 −4
Original line number Diff line number Diff line
@@ -4692,10 +4692,12 @@ public class CallsManager extends Call.ListenerBase

        @Override
        public void performAction() {
            synchronized (mLock) {
                Log.d(this, "perform set call state for %s, state = %s", mCall, mState);
                setCallState(mCall, mState, mTag);
            }
        }
    }

    private final class ActionUnHoldCall implements PendingAction {
        private final Call mCall;
@@ -4708,10 +4710,12 @@ public class CallsManager extends Call.ListenerBase

        @Override
        public void performAction() {
            synchronized (mLock) {
                Log.d(this, "perform unhold call for %s", mCall);
                mCall.unhold("held " + mPreviouslyHeldCallId);
            }
        }
    }

    private final class ActionAnswerCall implements PendingAction {
        private final Call mCall;