commit | e8eb227857264390aaa9a931e90b06a9381f7b9a | [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 07:59:54 2020 +0000 |
tree | 320c3d4c4989ad13192925dbabd425bc0b429328 | |
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 Test: atest CtsBlobStoreTestCases Bug: 170928809 Change-Id: Ia9d376b579ef4d88637d51a5fb3947faa71c76ca