Loading
[DeviceAware] Inline some calls to AppOpsCheckingService and remove some
methods from AppOpsService.Op and AppOpsService.UidState This reduces the depth of call stack and removes some methods that need not be under the aforementioned classes, as they aren't making use of the core state maintained by the classes (ultimately AttributedOp instances). Methods removed: - UidState#getNonDefaultUidModes() - UidState#getUidMode(int op) - UidState#setUidMode(int op, int mode) - Op#getMode() - Op#setMode(@Mode int mode) Bug: 299330771 Test: atest CtsAppOpsTestCases CtsAppOps2TestCases Change-Id: I8d3a95ed4625195419b07beffbee10db2f0728a6