From 3121c037f70b63f0ec4fa951d3b59aacbd44b0b8 Mon Sep 17 00:00:00 2001 From: Keiji Ariyama Date: Sun, 19 Feb 2012 16:46:19 +0900 Subject: Disabling action buttons in device panel. Before selecting a target device. Change-Id: I704d8af3d5f89dcbc5eb8e5e6b6090ddd8561e22 --- .../src/com/android/ide/eclipse/ddms/views/DeviceView.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'eclipse') diff --git a/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/views/DeviceView.java b/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/views/DeviceView.java index 56e7475..31ae3b8 100644 --- a/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/views/DeviceView.java +++ b/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/views/DeviceView.java @@ -471,6 +471,9 @@ public class DeviceView extends ViewPart implements IUiSelectionListener, IClien placeActions(); + // disabling all action buttons + selectionChanged(null, null); + ClientData.setHprofDumpHandler(new HProfHandler(mParentShell)); AndroidDebugBridge.addClientChangeListener(this); ClientData.setMethodProfilingHandler(new MethodProfilingHandler(mParentShell) { -- cgit v1.1