OSDN Git Service

Make the HierarchyViewer plug-in not screw up DDMS.
authorXavier Ducrohet <xav@android.com>
Tue, 31 Aug 2010 17:36:01 +0000 (10:36 -0700)
committerXavier Ducrohet <xav@android.com>
Tue, 31 Aug 2010 17:43:23 +0000 (10:43 -0700)
commit0b5b3edc79c75602b269fa9a0fdca842b408c4d5
tree24b5d551881ba1b103a755f0abf5827a6adb63d6
parentc784afa7fda424961b9e80c3cd820c2382d793e3
Make the HierarchyViewer plug-in not screw up DDMS.

The HV plug-in behaved like the standalone app and initialized
the AndroidDebugBridge with no client support (even though
this init is handled by DDMS) and would recreate the bridge
object destroying the one created by DDMS.

This completely broke DDMS.

Change-Id: Ife1187c74daef69607d508aabb1f7234507a170f
ddms/libs/ddmlib/src/com/android/ddmlib/AndroidDebugBridge.java
eclipse/plugins/com.android.ide.eclipse.hierarchyviewer/src/com/android/ide/eclipse/hierarchyviewer/HierarchyViewerPlugin.java
hierarchyviewer2/libs/hierarchyviewerlib/src/com/android/hierarchyviewerlib/HierarchyViewerDirector.java
hierarchyviewer2/libs/hierarchyviewerlib/src/com/android/hierarchyviewerlib/device/DeviceBridge.java