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

Commit 82823422 authored by Jorge Lucangeli Obes's avatar Jorge Lucangeli Obes
Browse files

Run 'nativeperms', remove Brillo #ifdef.

Bug: 25663983
Change-Id: I5b9f9747695d75f84bdfb61f90d28e0e5fee612c
parent 941a2907
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -67,11 +67,6 @@ bool checkCallingPermission(const String16& permission, int32_t* outPid, int32_t

bool checkPermission(const String16& permission, pid_t pid, uid_t uid)
{
#ifdef __BRILLO__
    // Brillo doesn't currently run ActivityManager or support framework permissions.
    return true;
#endif

    sp<IPermissionController> pc;
    gDefaultServiceManagerLock.lock();
    pc = gPermissionController;
+1 −2
Original line number Diff line number Diff line
@@ -27,6 +27,5 @@ LOCAL_SHARED_LIBRARIES := \
    libbrillo-binder \
    libchrome \
    libutils
# Commented out momentarily until SELinux policies land in a different repo.
# LOCAL_INIT_RC := nativeperms.rc
LOCAL_INIT_RC := nativeperms.rc
include $(BUILD_EXECUTABLE)