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

Commit c1337817 authored by repo sync's avatar repo sync
Browse files

Fix the issue of onNetwork in UI thread.

bug:458435

This will temporarily start a thread for answering calls, we are
going to add a handler thread to handle this soon.

Change-Id: I9079038d671e1b1631c6e663fc2c3de297d97428
parent b3610666
Loading
Loading
Loading
Loading
+2 −6
Original line number Diff line number Diff line
@@ -528,12 +528,8 @@ class SipSessionGroup implements SipListener {
        public void answerCall(String sessionDescription, int timeout) {
            synchronized (SipSessionGroup.this) {
                if (mPeerProfile == null) return;
                try {
                    processCommand(new MakeCallCommand(mPeerProfile,
                doCommandAsync(new MakeCallCommand(mPeerProfile,
                        sessionDescription, timeout));
                } catch (SipException e) {
                    onError(e);
                }
            }
        }