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

Commit 1007f60d authored by mrulhania's avatar mrulhania Committed by Manjeet Rulhania
Browse files

Add device support in native APIs

Update native permission APIs and attribution source
to support iris.

Ignore-AOSP-First: iris changes
Bug: 283978089
Test: presubmit && atest CtsAppOpsTestCases
Change-Id: Iacc591bd76c003c081fc31de2976d9c8e9fb5b0a
parent 3d367380
Loading
Loading
Loading
Loading
+4 −0
Original line number Original line Diff line number Diff line
@@ -27,6 +27,10 @@ parcelable AttributionSourceState {
    int pid = -1;
    int pid = -1;
    /** The UID that is accessing the permission protected data. */
    /** The UID that is accessing the permission protected data. */
    int uid = -1;
    int uid = -1;
    /** The default device ID from where the permission protected data is read.
     * @see Context#DEVICE_ID_DEFAULT
     */
    int deviceId = 0;
    /** The package that is accessing the permission protected data. */
    /** The package that is accessing the permission protected data. */
    @nullable @utf8InCpp String packageName;
    @nullable @utf8InCpp String packageName;
    /** The attribution tag of the app accessing the permission protected data. */
    /** The attribution tag of the app accessing the permission protected data. */