Merge "Adds caller check to getAllPackages()" into rvc-dev am: 649d086c2c

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13616181

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I256f995c522897b3324699a9694abc70a2f9dbf1