Moving enforcing restrictions to only one place

checkContentProviderPermission is the only place where
the enforcement is needed to restrict Content Provider
access

Bug: 265965249
Test: atest ContentProviderRestrictionsHostTest
Change-Id: Id3d7ab802e4e379515ee71547752276b24c697dc
1 file changed