Deprecate Debug.enableEmulatorTraceOutput()

The API has been no-op for 2 releases.
https://r.android.com/1352354

We should officially deprecate the API.

Bug: 238895989
Test: atest CtsOsTestCases:android.os.cts.DebugTest
Change-Id: Ib1454b200a0ae0da557de02c49c482145deb97df
This commit is contained in:
Victor Chang
2022-07-15 10:48:35 +01:00
parent 7d21782d90
commit 6ec9edf868
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 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();

View File

@@ -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");