parent
5bfe64752e
commit
dff6997a65
1 changed files with 1 additions and 1 deletions
|
@ -245,7 +245,7 @@ public class RegistrationActivity extends SherlockActivity {
|
|||
formattedNumber = countryFormatter.inputDigit(number.charAt(i));
|
||||
}
|
||||
|
||||
if (!s.toString().equals(formattedNumber)) {
|
||||
if (formattedNumber != null && !s.toString().equals(formattedNumber)) {
|
||||
s.replace(0, s.length(), formattedNumber);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue