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

Commit 876e06aa authored by Florian Mayer's avatar Florian Mayer
Browse files

Make system_server profilable on user.

Test: m with matching SELinux change. profile sys_srv.

This is a cherry-pick of be583be3.

Bug: 151140716
Change-Id: I545b758421ea7527d75b5d2756a6b11ae475e7de
Merged-In: I545b758421ea7527d75b5d2756a6b11ae475e7de
parent 1d26c937
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -519,10 +519,8 @@ public final class SystemServer {
            // Initialize native services.
            System.loadLibrary("android_servers");

            // Debug builds - allow heap profiling.
            if (Build.IS_DEBUGGABLE) {
            // Allow heap / perf profiling.
            initZygoteChildHeapProfiling();
            }

            // Debug builds - spawn a thread to monitor for fd leaks.
            if (Build.IS_DEBUGGABLE) {