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

Commit 792e3174 authored by Chris Wailes's avatar Chris Wailes Committed by Android (Google) Code Review
Browse files

Merge "Add additional logging for process creation" into main

parents 47b6397b 308a0571
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2148,6 +2148,7 @@ static void SpecializeCommon(JNIEnv* env, uid_t uid, gid_t gid, jintArray gids,
    // Make it easier to debug audit logs by setting the main thread's name to the
    // nice name rather than "app_process".
    if (nice_name.has_value()) {
        ALOGI("Process %d crated for %s", getpid(), nice_name.value().c_str());
        SetThreadName(nice_name.value());
    } else if (is_system_server) {
        SetThreadName("system_server");