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
Loading
Please register or sign in to comment