mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-27 08:55:54 +03:00
Fuse declaration and initial assignment
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
This commit is contained in:
parent
8117ffb56a
commit
f53cb610d3
1 changed files with 1 additions and 2 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue