diff options
| author | Nate Myren <ntmyren@google.com> | 2021-08-02 11:16:14 -0700 |
|---|---|---|
| committer | Nate Myren <ntmyren@google.com> | 2021-08-03 08:25:31 -0700 |
| commit | 06d07d54dbc0b67cccf986281e2c7c19f0ae64ca (patch) | |
| tree | 4c28d5616b8576a318d1ee24e1e5a865c1e2d89b /core/java/com | |
| parent | 308cc9919e1dffde75723a1595aa1547e2295b95 (diff) | |
Add attribution info to start callbacks
Add attribution flags and chain IDs to start callbacks, and have the
PermissionUsageHelper listen for starts. This ensures that, if another
start happens while an op is already running, and has chain information,
then this chain information will be recorded.
Test: manual
Bug: 194198234
Change-Id: I0ab1aa0969b70e18001f4a814ea5689f9329a019
Diffstat (limited to 'core/java/com')
| -rw-r--r-- | core/java/com/android/internal/app/IAppOpsStartedCallback.aidl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/java/com/android/internal/app/IAppOpsStartedCallback.aidl b/core/java/com/android/internal/app/IAppOpsStartedCallback.aidl index 3a108e7e1d94..06640cb4ee06 100644 --- a/core/java/com/android/internal/app/IAppOpsStartedCallback.aidl +++ b/core/java/com/android/internal/app/IAppOpsStartedCallback.aidl @@ -18,5 +18,6 @@ package com.android.internal.app; // Iterface to observe op starts oneway interface IAppOpsStartedCallback { - void opStarted(int op, int uid, String packageName, String attributionTag, int flags, int mode); + void opStarted(int op, int uid, String packageName, String attributionTag, int flags, int mode, + int startedType, int attributionFlags, int attributionChainId); } |
