summaryrefslogtreecommitdiffstats
path: root/core/java/android/ddm/DdmRegister.java
diff options
context:
space:
mode:
authorSiva Velusamy <vsiva@google.com>2013-01-06 16:03:12 -0800
committerSiva Velusamy <vsiva@google.com>2013-01-16 09:13:06 -0800
commit945bfb6068d4ac1414a37a3ebe4dc4d02383e38e (patch)
tree0a20baaba5224c08e41e2e00452d5b61fe4b2f20 /core/java/android/ddm/DdmRegister.java
parent707a71e39e8e3bf284422265b680b73a7c63debf (diff)
downloadframeworks_base-945bfb6068d4ac1414a37a3ebe4dc4d02383e38e.zip
frameworks_base-945bfb6068d4ac1414a37a3ebe4dc4d02383e38e.tar.gz
frameworks_base-945bfb6068d4ac1414a37a3ebe4dc4d02383e38e.tar.bz2
Support hierarchy viewer commands via DDM
Hierarchy Viewer currently interfaces to the host via a socket opened by ViewServer which resides in the WindowManagerService. Since this has access to all windows, it is enabled only on debug builds. This CL adds necessary support to DDM to handle all the commands required for Hierarchy Viewer. It only misses two commands that are sent to the Window Manager (which we don't have access to from the applications). A future CL will remove the ViewServer functionality. Change-Id: I1dae316a00737b0cae4e640ccc97bf9bb1d05973
Diffstat (limited to 'core/java/android/ddm/DdmRegister.java')
-rw-r--r--core/java/android/ddm/DdmRegister.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/ddm/DdmRegister.java b/core/java/android/ddm/DdmRegister.java
index 2c82967..e0faa51 100644
--- a/core/java/android/ddm/DdmRegister.java
+++ b/core/java/android/ddm/DdmRegister.java
@@ -51,7 +51,7 @@ public class DdmRegister {
DdmHandleNativeHeap.register();
DdmHandleProfiling.register();
DdmHandleExit.register();
- DdmHandleGlTracing.register();
+ DdmHandleViewDebug.register();
DdmServer.registrationComplete();
}