Report changes from Instant App

PackageManager didn't report Instant Apps as changes. This results
in that certain apps that could access Instant App aren't aware of
these changes. The solution is that PackageManager always reports
the changes, but filter Instant App out when the callers don't have
the appropriate permission.

Bug: 139853359
Test: atest EphemeralTest
Test: atest ApplicationVisibilityTest
Test: Install an Instant App, and check if app with the appropriate
      permission could see the changes from #getChangedPackages
      immediately.
Change-Id: I2ce8d775dc71d26ce889a624b64b230b682d5054
1 file changed