Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6ec9edf8 authored by Victor Chang's avatar Victor Chang
Browse files

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
parent 7d21782d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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();
+2 −0
Original line number Diff line number Diff line
@@ -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");