Merge "Deprecate Debug.enableEmulatorTraceOutput()"

This commit is contained in:
Victor Chang
2022-07-20 09:57:40 +00:00
committed by Gerrit Code Review
2 changed files with 3 additions and 1 deletions

View File

@@ -29758,7 +29758,7 @@ package android.os {
method @Deprecated public static void changeDebugPort(int); method @Deprecated public static void changeDebugPort(int);
method public static void dumpHprofData(String) throws java.io.IOException; method public static void dumpHprofData(String) throws java.io.IOException;
method public static boolean dumpService(String, java.io.FileDescriptor, String[]); 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 getBinderDeathObjectCount();
method public static int getBinderLocalObjectCount(); method public static int getBinderLocalObjectCount();
method public static int getBinderProxyObjectCount(); method public static int getBinderProxyObjectCount();

View File

@@ -1155,6 +1155,8 @@ public final class Debug
* consequences. * consequences.
* *
* To temporarily enable tracing, use {@link #startNativeTracing()}. * To temporarily enable tracing, use {@link #startNativeTracing()}.
*
* @deprecated Please use other tracing method in this class.
*/ */
public static void enableEmulatorTraceOutput() { public static void enableEmulatorTraceOutput() {
Log.w(TAG, "Unimplemented"); Log.w(TAG, "Unimplemented");