Early exit when target app ID < FIRST_APP_UID

This change ensures that we also grant visibility to the framework and
other settings that are outside of the APPLICATION_UID space.

Fixes: 159152185
Test: atest com.android.server.pm.UserManagerTest#testAddManagedProfile_withDisallowedPackages
Change-Id: I00c8390dfa748f90c538a57243b472610886be7b
(cherry picked from commit 947d63d1158d4727d382a952c8a677859ba1884c)
2 files changed