Files
frameworks_base/core/java/android/os
yawanng 8124efd57b Adds caller check to getAllPackages()
This change enforces that only system, root or shell may call
getAllPackages(), a hidden API that shares all package names regardless
of user, instant app or package visibility rules.

The only exception is the uid of iorapd. iorapd needs the package info
to prefetch the right data.

Bug: 179618216
Bug: 174661955
Test: run iorapd and check it works well.
Change-Id: I77460ae19a4d41151577646441f11e2eddbb741a
2021-02-16 18:48:49 +00:00
..
2020-08-05 17:40:02 +00:00
2020-03-20 15:13:37 -07:00
2021-01-12 16:15:52 -08:00
2021-02-01 08:19:34 +00:00
2020-05-18 08:57:31 +00:00
2020-12-10 22:53:07 +00:00
2020-10-10 20:38:57 -07:00