Merge "Remove obsolete property ro.kernel.android.tracing" am: 3661fc477c am: cb98552e03 am: 1ee0a2519e
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1498598 Change-Id: Icedff80bb584ab245b039d1bb3f5c56fb31d592c
This commit is contained in:
@@ -24,7 +24,6 @@ import android.compat.annotation.UnsupportedAppUsage;
|
|||||||
import android.content.type.DefaultMimeMapFactory;
|
import android.content.type.DefaultMimeMapFactory;
|
||||||
import android.os.Build;
|
import android.os.Build;
|
||||||
import android.os.DeadObjectException;
|
import android.os.DeadObjectException;
|
||||||
import android.os.Debug;
|
|
||||||
import android.os.IBinder;
|
import android.os.IBinder;
|
||||||
import android.os.Process;
|
import android.os.Process;
|
||||||
import android.os.SystemProperties;
|
import android.os.SystemProperties;
|
||||||
@@ -257,18 +256,6 @@ public class RuntimeInit {
|
|||||||
*/
|
*/
|
||||||
NetworkManagementSocketTagger.install();
|
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;
|
initialized = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user