Loading
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