Revert "Guard isProviderPackage with permission"

This reverts commit 24136098c098a7d2fff464cc1b20ee60ed4d972f.

Reason for revert: b/131637158. For some reason the Android system doesn't seem to have this permission.

Bug: 131637158

Change-Id: I7fd1e25a1bbb57f98a6ee0d07b8954c1cbcf08c2
3 files changed