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

Commit ec864680 authored by Ramakrishnan Ganesh's avatar Ramakrishnan Ganesh Committed by Steve Kondik
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 aa4f129d
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -514,7 +514,8 @@ public class ZygoteInit {
            OsConstants.CAP_SYS_NICE,
            OsConstants.CAP_SYS_NICE,
            OsConstants.CAP_SYS_RESOURCE,
            OsConstants.CAP_SYS_RESOURCE,
            OsConstants.CAP_SYS_TIME,
            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 */
        /* Hardcoded command line to start the system server */
        String args[] = {
        String args[] = {