mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 11:28:06 +00:00
Fix error
This commit is contained in:
parent
023d7844f0
commit
d3b2d6c2aa
1 changed files with 3 additions and 0 deletions
|
|
@ -554,6 +554,9 @@ public class StatusFragment extends Fragment {
|
|||
CheckBox checkBox = (CheckBox) v;
|
||||
if (checkBox.isChecked()) {
|
||||
String tag = (String) checkBox.getTag();
|
||||
if(tag.startsWith("sip:")) {
|
||||
tag = tag.substring(4);
|
||||
}
|
||||
String sipAddress = tag.split(":")[0];
|
||||
int accountPosition = Integer.parseInt(tag.split(":")[1]);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue