Enforce package visibility to the api getCreatorPackage

App can query which applications are installed on the device
via the api PendingIntent#getCreatorPackage. This cl enforces
package visibility filter to the getCreatorPackage api to fix
this security issue.

Bug: 198782887
Test: atest AppEnumerationTests
Test: PoC application
Change-Id: I4c30a161dc92076861f764ed2d049fab9263d6ab
1 file changed