commit | ec1847440d4eac460aa166acfbc18ef7d9a879c6 | [log] [tgz] |
---|---|---|
author | Nathan Harold <nharold@google.com> | Wed Jul 10 17:04:16 2019 -0700 |
committer | Nathan Harold <nharold@google.com> | Thu Jul 11 21:42:28 2019 +0000 |
tree | 0553cdb0cd934acfc8978fd8659b4357bec45aa9 | |
parent | ee830a52a6d9ec70432c1dbb4bcedb679ef2d32a [diff] |
Explicitly Select UID for Target SDK Check To ensure that the correct ApplicationInfo is retrieved for the target SDK check, expicitly invoke the package manager for the context of the calling UID. Bug: 136359936 Test: manual - verified on Crosshatch -Install Slides on a Work Profile -Open Slides (crash) -CP this patch; build; flash -Open Slides (no crash) Change-Id: I70a09ea22a2b3e7a866b2b97aa30487ea300b686