summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorRobin Lee <rgl@google.com>2015-09-28 14:37:40 +0100
committerRobin Lee <rgl@google.com>2015-09-29 14:08:53 +0100
commit0e27c87af691bc53d320496bbffa58752608608d (patch)
treeb74b3d5d6bb27ec63a17af030e28306da97809af /tools/aapt2/java/JavaClassGenerator_test.cpp
parent8392b394f26ef726a002cd380979058203438dc8 (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