mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-20 21:18:07 +00:00
Fix: return modifiable call lists.
This commit is contained in:
parent
bc7fee112c
commit
d84d5f4c85
1 changed files with 2 additions and 1 deletions
|
|
@ -167,7 +167,8 @@ public final class LinphoneUtils {
|
|||
}
|
||||
|
||||
public static final List<LinphoneCall> getLinphoneCalls(LinphoneCore lc) {
|
||||
return (List<LinphoneCall>) Arrays.asList(lc.getCalls());
|
||||
// return a modifiable list
|
||||
return new ArrayList<LinphoneCall>(Arrays.asList(lc.getCalls()));
|
||||
}
|
||||
|
||||
public static final boolean hasExistingResumeableCall(LinphoneCore lc) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue