Use data delivery permission checks
The new PermissionChecker APIs check permission for a client while also intiating an AppOp at the same time. They are also capable of checking permissions for the full AttributionSource chain in the process. In this change, we switch out the legacy AppOpsManager APIs for the new PermissionChecker APIs. Some details may need to be ironed out, particularly when it comes to prioritization of clients. This will be handled in a future CL. Bug: 190657833 Bug: 369841571 Test: Ran CameraPermissionTest with 10 iterations for all flag permutations Flag: com.android.internal.camera.flags.check_full_attribution_source_chain Change-Id: If6a777bcb9af4f7004a45a2aac35a404be8d9db1
Loading
Please register or sign in to comment