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;
|
CheckBox checkBox = (CheckBox) v;
|
||||||
if (checkBox.isChecked()) {
|
if (checkBox.isChecked()) {
|
||||||
String tag = (String) checkBox.getTag();
|
String tag = (String) checkBox.getTag();
|
||||||
|
if(tag.startsWith("sip:")) {
|
||||||
|
tag = tag.substring(4);
|
||||||
|
}
|
||||||
String sipAddress = tag.split(":")[0];
|
String sipAddress = tag.split(":")[0];
|
||||||
int accountPosition = Integer.parseInt(tag.split(":")[1]);
|
int accountPosition = Integer.parseInt(tag.split(":")[1]);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue