Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6324f804 authored by Michael Wachenschwanz's avatar Michael Wachenschwanz
Browse files

Reduce spurious noteUidProcessState triggers

ActivityManagerService.noteUidProcessState is triggered on both
ProcessState and Capability changes, but only AppOpsService cares about
the Capability chage. Seperating out the method to handle just
ProcessState and ProcessState+Capability changes will reduce unnecessary
calls for the rest of the listeners.

Flag:EXEMPTED_bugfix
Fix: 392706859
Test: manual (Perfetto trace of a fixed workload will see a reduction in
binder calls to netd from MobileDataStats)

Change-Id: I65e81d3fb26e3682efce89c9d9bbe7989bf680cd
parent 6c118a5b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment