Merge "Activity recognition source app op tracking" into sc-dev

This commit is contained in:
Svetoslav Ganov
2021-04-08 18:34:58 +00:00
committed by Android (Google) Code Review
8 changed files with 236 additions and 57 deletions

View File

@@ -2678,7 +2678,7 @@ public final class SystemServer implements Dumpable {
t.traceBegin("RegisterAppOpsPolicy");
try {
mActivityManagerService.setAppOpsPolicy(new AppOpsPolicy());
mActivityManagerService.setAppOpsPolicy(new AppOpsPolicy(mSystemContext));
} catch (Throwable e) {
reportWtf("registering app ops policy", e);
}