diff --git a/core/api/current.txt b/core/api/current.txt index 6d3b493d3943c..584c67f288c1e 100644 --- a/core/api/current.txt +++ b/core/api/current.txt @@ -31118,7 +31118,7 @@ package android.os { method @Deprecated public static void changeDebugPort(int); method public static void dumpHprofData(String) throws java.io.IOException; method public static boolean dumpService(String, java.io.FileDescriptor, String[]); - method public static void enableEmulatorTraceOutput(); + method @Deprecated public static void enableEmulatorTraceOutput(); method public static int getBinderDeathObjectCount(); method public static int getBinderLocalObjectCount(); method public static int getBinderProxyObjectCount(); diff --git a/core/java/android/os/Debug.java b/core/java/android/os/Debug.java index b4930fa931ebf..399f11b0f2a74 100644 --- a/core/java/android/os/Debug.java +++ b/core/java/android/os/Debug.java @@ -1155,6 +1155,8 @@ public final class Debug * consequences. * * To temporarily enable tracing, use {@link #startNativeTracing()}. + * + * @deprecated Please use other tracing method in this class. */ public static void enableEmulatorTraceOutput() { Log.w(TAG, "Unimplemented");