diff options
author | Felka Chang <felkachang@google.com> | 2020-09-08 20:58:50 +0800 |
---|---|---|
committer | Felka Chang <felkachang@google.com> | 2020-10-16 16:08:12 +0800 |
commit | c2d86618e9a327324dda9519467a4f248325916d (patch) | |
tree | e70aad0de4a923e9bfc3d90868070380900ceeba /tools/aapt2/java/JavaClassGenerator_test.cpp | |
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: croot ; make RunSettingsLibRoboTests -j40
Test: make -j droid cts gts vts
Test: make -j docs
Test: atest SystemUITests \
FrameworksServicesTests:com.android.server.pm
Bug: 170928809
Change-Id: I369a3cf0a9dca1496b57675f4fa8e3fb1da982f3
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions