mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-19 19:49:33 +01:00
Fix a bug
Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
parent
fdaa69f489
commit
8aee1afa2b
@ -549,8 +549,8 @@ public class CallActivity extends AppCompatActivity {
|
|||||||
Set<String> oldSesssions = new HashSet<>();
|
Set<String> oldSesssions = new HashSet<>();
|
||||||
|
|
||||||
for (HashMap<String, String> participant : users) {
|
for (HashMap<String, String> participant : users) {
|
||||||
Object inCallObject = participant.get("inCall");
|
|
||||||
if (!participant.get("sessionId").equals(callSession)) {
|
if (!participant.get("sessionId").equals(callSession)) {
|
||||||
|
Object inCallObject = participant.get("inCall");
|
||||||
if ((boolean) inCallObject) {
|
if ((boolean) inCallObject) {
|
||||||
newSessions.add(participant.get("sessionId"));
|
newSessions.add(participant.get("sessionId"));
|
||||||
} else {
|
} else {
|
||||||
|
@ -381,12 +381,16 @@ public class SettingsController extends BaseController {
|
|||||||
@Override
|
@Override
|
||||||
public void onAnimationEnd(Animator animation) {
|
public void onAnimationEnd(Animator animation) {
|
||||||
super.onAnimationEnd(animation);
|
super.onAnimationEnd(animation);
|
||||||
messageView.setVisibility(View.GONE);
|
if (messageView != null) {
|
||||||
|
messageView.setVisibility(View.GONE);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
messageView.setVisibility(View.GONE);
|
if (messageView != null) {
|
||||||
|
messageView.setVisibility(View.GONE);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user