mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-05-03 15:11:42 +01:00
Add authority check to VoiceCallShare.
This commit is contained in:
committed by
jeffrey-signal
parent
7f831e6806
commit
53023517b3
@@ -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