summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorHui Yu <huiyu@google.com>2020-05-21 16:38:03 -0700
committerHui Yu <huiyu@google.com>2020-05-26 09:49:03 -0700
commitca10d44c13cb24573ca024e842fecdf44ece1420 (patch)
treebd9bfc27e5978be9ecb46cdd71c55ed0f2c620dc /tools/aapt2/java/JavaClassGenerator.cpp
parent2cdbcea8ba29bbb8d50511a9fa6e5bd2763fb153 (diff)
updateAppUidRecLocked() needs to run for all ProcessRecord of a
UidRecord. for example, adb shell dumpsys activity -a | grep *APP* | grep quicksearchbox *APP* UID 10148 ProcessRecord{a86bfc8 19343:com.google.android.googlequicksearchbox:search/u0a148} *APP* UID 10148 ProcessRecord{8932590 20318:com.google.android.googlequicksearchbox:assistant/u0a148} *APP* UID 10148 ProcessRecord{7458b77 19013:com.google.android.googlequicksearchbox:interactor/u0a148} UID 10148 has three ProcessRecord. After uidRec.reset(), for uidRec that has multiple processes(ProcessRecord), We need apply all ProcessRecord into UidRecord, otherwise, the UidRecord's proc state and capability are wrong. Bug: 157269041, 152709842 Test: Use the reproduce step in b/152709842, squeeze phone and talk to Assistant. Change-Id: Id46dbd4f428968fb2029255fbcf61bba328b582c
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions