diff options
author | Robin Lee <rgl@google.com> | 2015-09-28 14:37:40 +0100 |
---|---|---|
committer | Robin Lee <rgl@google.com> | 2015-09-29 14:08:53 +0100 |
commit | 0e27c87af691bc53d320496bbffa58752608608d (patch) | |
tree | b74b3d5d6bb27ec63a17af030e28306da97809af /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 8392b394f26ef726a002cd380979058203438dc8 (diff) |
Call into PackageManager as mContext, not myUserId
ApplicationPackageManager instances can (and sometimes are) created as another
user from the one they run in. Example use: fetching the application icon for
an app installed as another user.
The occurrences that weren't doing this aren't ever called on a cross-user
instance so it should be safe enough to fix all of them.
Change-Id: Ia63f22942f35450e36a7b8da2bbf8eda360ef21a
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions