diff options
author | Siva Velusamy <vsiva@google.com> | 2013-08-30 14:38:09 -0700 |
---|---|---|
committer | Siva Velusamy <vsiva@google.com> | 2013-08-30 14:38:09 -0700 |
commit | adcd7a4972e8c1aea5c825fb69da5d50b66d2af5 (patch) | |
tree | 95434aab86c864148b237567b7db76efbb5faed3 /eclipse/plugins/com.android.ide.eclipse.ddms | |
parent | a2af11851c77884bc9b35f48f6b08a4773f02b64 (diff) | |
download | sdk-adcd7a4972e8c1aea5c825fb69da5d50b66d2af5.tar.gz sdk-adcd7a4972e8c1aea5c825fb69da5d50b66d2af5.tar.bz2 sdk-adcd7a4972e8c1aea5c825fb69da5d50b66d2af5.zip |
Update traceview for ddmlib API change
Change-Id: I0c72d2656dc4d16a32b62277e2814d511d67378f
Diffstat (limited to 'eclipse/plugins/com.android.ide.eclipse.ddms')
-rw-r--r-- | eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/views/DeviceView.java | 3 |
1 files changed, 2 insertions, 1 deletions
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 13a4f9969..c70c38803 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 @@ -746,7 +746,8 @@ public class DeviceView extends ViewPart implements IUiSelectionListener, IClien if (data.hasFeature(ClientData.FEATURE_PROFILING)) { mTracingAction.setEnabled(true); - if (data.getMethodProfilingStatus() == MethodProfilingStatus.ON) { + if (data.getMethodProfilingStatus() == MethodProfilingStatus.TRACER_ON + || data.getMethodProfilingStatus() == MethodProfilingStatus.SAMPLER_ON) { mTracingAction .setToolTipText(Messages.DeviceView_Stop_Method_Profiling_Tooltip); mTracingAction.setText(Messages.DeviceView_Stop_Method_Profiling); |