Skip to content
Snippets Groups Projects
Commit 6ebedc96 authored by Karishma Vakil's avatar Karishma Vakil
Browse files

[DeviceAware] Use AttributionSourceState in AppOpsService checkOp, noteOp,

startOp, finishOp methods

This allows us to reduce the number of parameters being passed around
and also enables easy addition of new parameters such as device id.

Note that this change is unflagged and is meant to be a pure refactor.
This is preparatory CL and no new methods are being added to AppOpsManager yet, but will be needed
to allow clients to pass in device id.

Bug: 299160174
Test: atest CtsAppOpsTestCases CtsAppOps2TestCases
Change-Id: I591b1dc7d7e4af0371c2d1d80b06d858e7213a94
parent b48f0d09
No related branches found
No related tags found
Loading
Showing
with 539 additions and 250 deletions
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