When we select Saintbarthelemy, it has country code +590, which same as some other countries like Saint Martin. so This code decides the country code upon format of remaining number. if that number is invalid then this
String region = mPhoneUtil.getRegionCodeForNumber(phoneNumber);
returns null.
upon next line
int countryIdx = mCountries.indexOfIso(region);
in indexOfIso method .. toUpperCase is being called upon region which produces null pointer exception.
Pardon me if anything is wrong with creating this issue
hi,
When we select Saintbarthelemy, it has country code +590, which same as some other countries like Saint Martin. so This code decides the country code upon format of remaining number. if that number is invalid then this String region = mPhoneUtil.getRegionCodeForNumber(phoneNumber); returns null. upon next line int countryIdx = mCountries.indexOfIso(region); in indexOfIso method .. toUpperCase is being called upon region which produces null pointer exception.
Pardon me if anything is wrong with creating this issue
Thanks