summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Inseob Kim <inseob@google.com> 2020-11-16 11:29:31 +0000
committer Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> 2020-11-16 11:29:31 +0000
commitcb98552e0352b5954eb4fee68d4bf9977f1e0087 (patch)
tree69824849615c23a96e60f878cc0508defda2f10b
parentcaff40cad36e4a5d3e5f836f09daf70a321f98c8 (diff)
parent3661fc477c7d88eb33df3ffa1c4a3dbd4fe50526 (diff)
Merge "Remove obsolete property ro.kernel.android.tracing" am: 3661fc477c
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1498598 Change-Id: I84d3094b305ba713d128656b22639bd43d0c3eb2
-rw-r--r--core/java/com/android/internal/os/RuntimeInit.java13
1 files changed, 0 insertions, 13 deletions
diff --git a/core/java/com/android/internal/os/RuntimeInit.java b/core/java/com/android/internal/os/RuntimeInit.java
index 60f1b4438f54..8d1f16b4b259 100644
--- a/core/java/com/android/internal/os/RuntimeInit.java
+++ b/core/java/com/android/internal/os/RuntimeInit.java
@@ -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;
}