diff options
Diffstat (limited to 'core/java/android/os/Debug.java')
-rw-r--r-- | core/java/android/os/Debug.java | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/core/java/android/os/Debug.java b/core/java/android/os/Debug.java index 5de1272..989bd2c 100644 --- a/core/java/android/os/Debug.java +++ b/core/java/android/os/Debug.java @@ -524,11 +524,13 @@ href="{@docRoot}guide/developing/tools/traceview.html">Traceview: A Graphical Lo } /** - * Determine whether method tracing is currently active. + * Determine whether method tracing is currently active and what type is + * active. + * * @hide */ - public static boolean isMethodTracingActive() { - return VMDebug.isMethodTracingActive(); + public static int getMethodTracingMode() { + return VMDebug.getMethodTracingMode(); } /** |