cts tests for CallLogProvider#queryInternal
changes:
- phoneNumber is now a selctionArgument
- if the cursor is empty && SQL is detected, a SE is thrown
Bug: 224771921
Test: 2 manual,
manual 1: test app 1 can still make valid call filter query
manual 2: test app 2 with invalid query crashes b/c of SE
2 CTS tests,
test 1: ensures the existing functionality still works
test 2: ensures a SE is thrown on an invalid query for call filter
bug: 224771921
Test: 2
Change-Id: I84f5c10ad6214ccc46208ca378c9fdb4951a0279
Merged-In: I84f5c10ad6214ccc46208ca378c9fdb4951a0279
1 file changed