mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-09-23 02:02:40 +01:00
Add authority check to VoiceCallShare.
This commit is contained in:
@@ -23,7 +23,7 @@ public class VoiceCallShare extends Activity {
|
||||
public void onCreate(Bundle icicle) {
|
||||
super.onCreate(icicle);
|
||||
|
||||
if (getIntent().getData() != null && "content".equals(getIntent().getData().getScheme())) {
|
||||
if (getIntent().getData() != null && "content".equals(getIntent().getData().getScheme()) && ContactsContract.AUTHORITY.equals(getIntent().getData().getAuthority())) {
|
||||
Cursor cursor = null;
|
||||
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user