mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-27 08:19:29 +03:00
Fix codacy issues
Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
parent
ed7cd1b788
commit
8c81e12603
1 changed files with 2 additions and 2 deletions
|
@ -1572,7 +1572,7 @@ public class CallController extends BaseController {
|
|||
magicPeerConnectionWrapper = new MagicPeerConnectionWrapper(peerConnectionFactory,
|
||||
iceServers, sdpConstraints, sessionId, callSession, null, false, true, type);
|
||||
} else {
|
||||
if (!type.equals("screen")) {
|
||||
if (!"screen".equals(type)) {
|
||||
magicPeerConnectionWrapper = new MagicPeerConnectionWrapper(peerConnectionFactory,
|
||||
iceServers, sdpConstraints, sessionId, callSession, localMediaStream, false, false, type);
|
||||
} else {
|
||||
|
@ -1911,7 +1911,7 @@ public class CallController extends BaseController {
|
|||
gotNick(session + "+" + type, getPeerConnectionWrapperForSessionIdAndType(session, "video", false).getNick(), false);
|
||||
}
|
||||
|
||||
if (type.equals("video")) {
|
||||
if ("video".equals(type)) {
|
||||
setupAvatarForSession(session);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue