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

Commit 3661fc47 authored by Inseob Kim's avatar Inseob Kim Committed by Gerrit Code Review
Browse files

Merge "Remove obsolete property ro.kernel.android.tracing"

parents 8f2f4e14 56ab231a
Loading
Loading
Loading
Loading
+0 −13
Original line number Diff line number Diff line
@@ -24,7 +24,6 @@ import android.compat.annotation.UnsupportedAppUsage;
import android.content.type.DefaultMimeMapFactory;
import android.os.Build;
import android.os.DeadObjectException;
import android.os.Debug;
import android.os.IBinder;
import android.os.Process;
import android.os.SystemProperties;
@@ -257,18 +256,6 @@ public class RuntimeInit {
         */
        NetworkManagementSocketTagger.install();

        /*
         * If we're running in an emulator launched with "-trace", put the
         * VM into emulator trace profiling mode so that the user can hit
         * F9/F10 at any time to capture traces.  This has performance
         * consequences, so it's not something you want to do always.
         */
        String trace = SystemProperties.get("ro.kernel.android.tracing");
        if (trace.equals("1")) {
            Slog.i(TAG, "NOTE: emulator trace profiling enabled");
            Debug.enableEmulatorTraceOutput();
        }

        initialized = true;
    }