Fuse declaration and initial assignment

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
This commit is contained in:
Daniel Calviño Sánchez 2022-10-12 11:05:27 +02:00 committed by Tim Krüger
parent 8117ffb56a
commit f53cb610d3
No known key found for this signature in database
GPG key ID: FECE3A7222C52A4E

View file

@ -1851,13 +1851,12 @@ public class CallActivity extends CallBaseActivity {
for (HashMap<String, Object> participant : users) {
long inCallFlag = (long) participant.get("inCall");
if (!participant.get("sessionId").equals(currentSessionId)) {
boolean isNewSession;
Log.d(TAG, " inCallFlag of participant "
+ participant.get("sessionId").toString().substring(0, 4)
+ " : "
+ inCallFlag);
isNewSession = inCallFlag != 0;
boolean isNewSession = inCallFlag != 0;
if (isNewSession) {
newSessions.add(participant.get("sessionId").toString());
} else {