diff options
author | Jeff Hao <jeffhao@google.com> | 2013-08-29 11:19:39 -0700 |
---|---|---|
committer | Jeff Hao <jeffhao@google.com> | 2013-08-30 18:02:52 +0000 |
commit | ac27705f75e74f022de8c7888b14b49fed899176 (patch) | |
tree | d37e746206faf8c60201cce50b7ccd00af1cb266 /core/java/android/os | |
parent | 51e4c4c13b75ecd47e328b0f4487ba9918a62589 (diff) | |
download | frameworks_base-ac27705f75e74f022de8c7888b14b49fed899176.zip frameworks_base-ac27705f75e74f022de8c7888b14b49fed899176.tar.gz frameworks_base-ac27705f75e74f022de8c7888b14b49fed899176.tar.bz2 |
Change IsMethodTracingActive to GetMethodTracingMode for frameworks.
Bug: 9968521
Change-Id: Ic63340e0d2fef18f27fdfabdd056ac5304c3d54f
(cherry picked from commit ffbe799f3824f4be705ca726988355d3943a9004)
Diffstat (limited to 'core/java/android/os')
-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 b78bbc3..60ce132 100644 --- a/core/java/android/os/Debug.java +++ b/core/java/android/os/Debug.java @@ -645,11 +645,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(); } /** |