summaryrefslogtreecommitdiff
path: root/libs/hwui/renderthread/RenderThread.cpp
diff options
context:
space:
mode:
authoryawanng <yawanng@google.com>2021-02-08 22:38:28 +0000
committerPatrick Baumann <patb@google.com>2021-02-18 18:15:21 +0000
commit1ea4f56c3d75ac61042eb097f57619190a21e72d (patch)
tree3a35af7bdb9b91b57012a82c3818f3b2cc76c33d /libs/hwui/renderthread/RenderThread.cpp
parenta84fbe7f17dcd56158a29468a4ff47ee6d5a9bd2 (diff)
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 Merged-In: I77460ae19a4d41151577646441f11e2eddbb741a (cherry picked from commit 8124efd57b50056d22e1b63c32c366ebdf049598)
Diffstat (limited to 'libs/hwui/renderthread/RenderThread.cpp')
0 files changed, 0 insertions, 0 deletions