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

Commit 308a0571 authored by Chris Wailes's avatar Chris Wailes
Browse files

Add additional logging for process creation

Bug: 408380261
Test: TH
Flag: EXEMPT This CL adds a single logging line
Change-Id: Ib26ae3803c47aa6050a9ffd2c5b47bc9faf7a6c4
parent a25fa63a
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line 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
    // Make it easier to debug audit logs by setting the main thread's name to the
    // nice name rather than "app_process".
    // nice name rather than "app_process".
    if (nice_name.has_value()) {
    if (nice_name.has_value()) {
        ALOGI("Process %d crated for %s", getpid(), nice_name.value().c_str());
        SetThreadName(nice_name.value());
        SetThreadName(nice_name.value());
    } else if (is_system_server) {
    } else if (is_system_server) {
        SetThreadName("system_server");
        SetThreadName("system_server");