Loading
Remove special handling for legacy apps when checking permission.
This is no longer needed since we are syncing app ops. This change also brings back some minor refactoring from the previous commit that was reverted. Bug: 136503238 Test: presubmit Change-Id: I73f09c8720ed9166d4a111567095617f1f2409b5