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

Commit 3c8c5369 authored by Steven Moreland's avatar Steven Moreland
Browse files

reflect libbinder->libpermission: appops

Since libbinder is used in many places, lightening it up (vtables in
these classes contribute to private dirty memory).

Bug: 183654927
Test: boot
Change-Id: I73328013bfb701257eb88339f7da2cb92db6809e
parent 5c6694aa
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@
package com.android.internal.app;

// This interface is also used by native code, so must
// be kept in sync with frameworks/native/libs/binder/include/binder/IAppOpsCallback.h
// be kept in sync with frameworks/native/libs/permission/include/binder/IAppOpsCallback.h
oneway interface IAppOpsCallback {
    void opChanged(int op, int uid, String packageName);
}
+1 −1
Original line number Diff line number Diff line
@@ -33,7 +33,7 @@ import com.android.internal.app.MessageSamplingConfig;

interface IAppOpsService {
    // These methods are also called by native code, so must
    // be kept in sync with frameworks/native/libs/binder/include/binder/IAppOpsService.h
    // be kept in sync with frameworks/native/libs/permission/include/binder/IAppOpsService.h
    // and not be reordered
    int checkOperation(int code, int uid, String packageName);
    SyncNotedAppOp noteOperation(int code, int uid, String packageName, @nullable String attributionTag,
+1 −0
Original line number Diff line number Diff line
@@ -77,6 +77,7 @@ cc_defaults {
        "libcutils",
        "libincfs",
        "liblog",
        "libpermission",
        "libz",
    ],
}