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

Skip to content
Commit 480543ef authored by Karishma Vakil's avatar Karishma Vakil
Browse files

[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
parent 08495046
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment