[automerger skipped] Merge "Add back enforceReadPermission for getmetadata" into qt-dev am: e8b7bb3071 -s ours am: 7ba2192d7b -s ours am: d2ae809765 -s ours am: 57c685e8c5 -s ours

am skip reason: Change-Id I4f04f08f76d039196c2c67bac80d4a46ebec87f2 with SHA-1 c94646177c is in history

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

Change-Id: I346f2442adceddc3387a28862e27ad44927a77ee