diff options
author | Jackal Guo <jackalguo@google.com> | 2021-04-21 16:44:45 +0800 |
---|---|---|
committer | Jackal Guo <jackalguo@google.com> | 2021-04-23 13:21:40 +0800 |
commit | 91c2cc0bd7c865f2219a6b35456ebb862e70edfc (patch) | |
tree | 7399d006d135a874cd53fdeb5a264beb7ad23b09 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | b0ea152982c5499b7c4c0e7c70b2a552e4a2cc32 (diff) |
Traverse all users to look up the names of the appId
In #dumpQueries, it uses appId as UID. This results in that it only
queries for appId on user 0. If the given appId is only installed
on the other user, we would fail to get the package name.
Bug: 165901712
Test: manually install an application on the secondary user, and use
'dumpsys package queries' to check whether '[app id <AID> not
installed]'(previous '[unknown app id <AID>]') still exists.
Change-Id: I783aec7f8b52099519365b75acddffe59dd50003
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions