Introduce AttributionAndPermissionUtils.
The CameraService class is getting large and permission checking is becoming a large portion of it. Separate this logic out into its own utils class to make it easier to find code responsible for verifying client permissions and the identity of the caller. Bug: 190657833 Test: testVisualQueryDetectionService_startRecogintion_testCameraOpen Test: atest CtsCameraTestCases Test: GCA smoke test, front + back Test: Camera2 smoke test (3P app) Change-Id: I57bb3380162b6c2c684b2f5b4f8de2c3ca25abe6
Loading
Please register or sign in to comment