commit | 858168cf8b0322f206f65178533e040fa8a2240a | [log] [tgz] |
---|---|---|
author | yutingfang <yutingfang@google.com> | Thu Oct 31 16:14:07 2024 -0700 |
committer | Yuting Fang <yutingfang@google.com> | Fri Nov 15 18:46:42 2024 +0000 |
tree | a8d465d59837af5ea30b0de9b3548339488a4505 | |
parent | c4a77391beedaef17ae2ec3e35e661b83cc34c8b [diff] |
Add checkOp overload APIs that accept attributionTag Add new checkOp overloads that accept attributionTag as a parameter to bring functionality parity with noteOp. Since the checkOp APIs now have the same security check as noteOp/startOp, we can deprecate unsafe version of checkOps. Flag: android.permission.flags.check_op_overload_api_enabled Bug: 240617242 Test: CTS atest AppOpsTest Change-Id: Iac486dafcb18464068df9e38243d34112a2b87e0