diff options
| author | 2023-11-14 16:41:43 +0000 | |
|---|---|---|
| committer | 2023-11-14 20:53:34 +0000 | |
| commit | 480543ef8072e66c20c7f2fed6cdd8c353f1f821 (patch) | |
| tree | 8a4b4c5782c93c4d308ee1a8bbae3370a80c8236 /libs/input/PointerController.cpp | |
| parent | 0849504665dcb45271e5055b6a2f4d4c417e5e28 (diff) | |
[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
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions