Revert "Replace permissions API with onPackageInstalled()."

This reverts commit 9b2c4bdbd766aea83c433d8fec570b60e069d0f8.

Reason for revert:
DroidMonitor: Potential culprit for Bug 174132082 - verifying through Forrest before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted

Bug: 174132082
Change-Id: I9d545d46f8f9fa3e25ea224e97f159f276c8f839
3 files changed