check for SELECT statements in query

Add code that prevents apps with only a restricted view of the MMS
databases from using subqueries in their queries to the MMS provider,
which may potentially leak data from the unrestricted view.

Fixes: 204117261
Test: CTS
Change-Id: I022807e882fabba384185bb8ad908e391f365a87
1 file changed