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

Skip to content
Commit e5b2400c authored by Atneya Nair's avatar Atneya Nair
Browse files

appops: Consolidate check/note/startOp validation

Pull out common argument validation logic from these three methods.

This ensures that checkOp validates packages instead of accepting
uid/package mismatches.  It also upgrades note/start to return
MODE_ERROR on invalid vdi and unresolvable package name.

Test: CtsAppOpsTestCases
Flag: android.permission.flags.check_op_validate_package
Bug: 294609684
Change-Id: I3b022348b22ed5a935e0c9cf6a73ad464e72d028
parent f6002bc0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment