commit | 3d67a9ed887587349ddff86ec1b67bd99fc917a2 | [log] [tgz] |
---|---|---|
author | Felka Chang <felkachang@google.com> | Tue Sep 08 20:58:50 2020 +0800 |
committer | Felka Chang <felkachang@google.com> | Fri Oct 16 20:40:30 2020 +0800 |
tree | af613a6e1c70c5ebc5a24020c4ddeb1457118d75 | |
parent | faf7e4a05b9c23a55dec24f93540244ca9b86a46 [diff] |
Remove PackageManager.getResourcesForApplicationAsUser API To switch another user to do something should create the context of the specified user by using Context.createContextAsUser rather than call *AsUser API directly. Test: make -j droid cts gts vts Test: make -j docs Test: atest SystemUITests \ FrameworksServicesTests:com.android.server.pm Fix: 170928809 Bug: 72863210 Change-Id: Ie1999ba9cf61a4e85b7172240cb198111389ab73