summaryrefslogtreecommitdiffstats
path: root/core/java/android/ddm
diff options
context:
space:
mode:
authorJeff Hao <jeffhao@google.com>2013-08-29 11:19:39 -0700
committerJeff Hao <jeffhao@google.com>2013-08-30 18:02:52 +0000
commitac27705f75e74f022de8c7888b14b49fed899176 (patch)
treed37e746206faf8c60201cce50b7ccd00af1cb266 /core/java/android/ddm
parent51e4c4c13b75ecd47e328b0f4487ba9918a62589 (diff)
downloadframeworks_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/ddm')
-rw-r--r--core/java/android/ddm/DdmHandleProfiling.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/ddm/DdmHandleProfiling.java b/core/java/android/ddm/DdmHandleProfiling.java
index e1d359c..ec08393 100644
--- a/core/java/android/ddm/DdmHandleProfiling.java
+++ b/core/java/android/ddm/DdmHandleProfiling.java
@@ -186,7 +186,7 @@ public class DdmHandleProfiling extends ChunkHandler {
* Handle a "Method PRofiling Query" request.
*/
private Chunk handleMPRQ(Chunk request) {
- int result = Debug.isMethodTracingActive() ? 1 : 0;
+ int result = Debug.getMethodTracingMode();
/* create a non-empty reply so the handler fires on completion */
byte[] reply = { (byte) result };