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

Commit ec62f83a authored by Jorge Lucangeli Obes's avatar Jorge Lucangeli Obes Committed by android-build-merger
Browse files

Merge "Run \'nativeperms\', remove Brillo #ifdef." am: a7ba9d0a am: f949746c

am: 180cce95

* commit '180cce95':
  Run 'nativeperms', remove Brillo #ifdef.

Change-Id: Ibc4f71b361ae03ea92724c09abeff711eeef78b0
parents d028f354 180cce95
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)