Check whether dialable only
It allows to call to any sender such as *20(Voice Mail Number for Chile Claro). Test: Manual Signed-off-by: Taesu Lee <taesu82.lee@samsung.com> Change-Id: Ifca83c5f05018de627fa38318fd4b6db20370910
This commit is contained in:
@@ -700,7 +700,7 @@ public class ConversationData extends BindableData {
|
||||
final ParticipantData participant = this.getOtherParticipant();
|
||||
if (participant != null) {
|
||||
final String phoneNumber = participant.getSendDestination();
|
||||
if (!TextUtils.isEmpty(phoneNumber) && MmsSmsUtils.isPhoneNumber(phoneNumber)) {
|
||||
if (!TextUtils.isEmpty(phoneNumber) && MmsSmsUtils.isDialable(phoneNumber)) {
|
||||
return phoneNumber;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user