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

Commit 22439ed1 authored by Ramakrishnan Ganesh's avatar Ramakrishnan Ganesh
Browse files

Add CAP_BLOCK_SUSPEND Linux capability to system server

Add block suspend capability to system server to allow
system server to hold wake locks in more recent Linux
kernels.

Change-Id: If37e6b3db43cde6b185e699926a940f6717aa05b
parent 90eb9e6c
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -496,7 +496,8 @@ public class ZygoteInit {
            OsConstants.CAP_SYS_NICE,
            OsConstants.CAP_SYS_RESOURCE,
            OsConstants.CAP_SYS_TIME,
            OsConstants.CAP_SYS_TTY_CONFIG
            OsConstants.CAP_SYS_TTY_CONFIG,
            OsConstants.CAP_BLOCK_SUSPEND
        );
        /* Hardcoded command line to start the system server */
        String args[] = {