Regular cleanup

Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
Mario Danic 2017-12-21 03:16:20 +01:00
parent 82e5d69000
commit c7443ad946
2 changed files with 2 additions and 3 deletions

View File

@ -1144,7 +1144,7 @@ public class CallActivity extends AppCompatActivity {
public void onReceive(Context context, Intent intent) {
if (!Device.getNetworkType(context).equals(JobRequest.NetworkType.ANY) && leavingCall) {
startPullingSignalingMessages(true);
} else if (Device.getNetworkType(context).equals(JobRequest.NetworkType.ANY) && !leavingCall){
} else if (Device.getNetworkType(context).equals(JobRequest.NetworkType.ANY) && !leavingCall) {
hangup(true);
}
}

View File

@ -198,8 +198,7 @@ public class MagicPeerConnectionWrapper {
EventBus.getDefault().post(new PeerConnectionEvent(PeerConnectionEvent.PeerConnectionEventType
.VIDEO_CHANGE, sessionId, null, remoteVideoOn));
}
} catch (IOException e) {
} catch (IOException e) {
Log.d(TAG, "Failed to parse data channel message");
}
}