mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-20 08:39:22 +01:00
Improve and centralize e164 utils.
This commit is contained in:
@@ -32,8 +32,8 @@ public class VoiceCallShare extends Activity {
|
||||
if (cursor != null && cursor.moveToNext()) {
|
||||
String destination = cursor.getString(cursor.getColumnIndexOrThrow(ContactsContract.RawContacts.Data.DATA1));
|
||||
|
||||
SimpleTask.run(() -> Recipient.external(this, destination), recipient -> {
|
||||
if (!TextUtils.isEmpty(destination)) {
|
||||
SimpleTask.run(() -> Recipient.external(destination), recipient -> {
|
||||
if (recipient != null && !TextUtils.isEmpty(destination)) {
|
||||
if (VIDEO_CALL_MIME_TYPE.equals(getIntent().getType())) {
|
||||
AppDependencies.getSignalCallManager().startOutgoingVideoCall(recipient);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user