diff --git a/api/current.txt b/api/current.txt index 730275f015f77..7097928fa393b 100644 --- a/api/current.txt +++ b/api/current.txt @@ -17701,7 +17701,6 @@ package android.os { method public static void startMethodTracing(java.lang.String); method public static void startMethodTracing(java.lang.String, int); method public static void startMethodTracing(java.lang.String, int, int); - method public static void startMethodTracingSampling(java.lang.String, int, int); method public static void startNativeTracing(); method public static deprecated void stopAllocCounting(); method public static void stopMethodTracing(); diff --git a/core/java/android/os/Debug.java b/core/java/android/os/Debug.java index 2de12047dc48d..6fa52ce67490e 100644 --- a/core/java/android/os/Debug.java +++ b/core/java/android/os/Debug.java @@ -657,6 +657,7 @@ href="{@docRoot}guide/developing/tools/traceview.html">Traceview: A Graphical Lo * If the trace file given does not end in ".trace", it will be appended for you. * @param bufferSize The maximum amount of trace data we gather. If not given, it defaults to 8MB. * @param intervalUs The amount of time between each sample in microseconds. + * @hide */ public static void startMethodTracingSampling(String traceName, int bufferSize, int intervalUs) {