Add authority check to VoiceCallShare.

This commit is contained in:
Alex Hart
2026-04-17 15:55:58 -03:00
committed by jeffrey-signal
parent 7f831e6806
commit 53023517b3

View File

@@ -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 {