aboutsummaryrefslogtreecommitdiffstats
path: root/ddms/app
diff options
context:
space:
mode:
authorSiva Velusamy <vsiva@google.com>2011-10-09 16:21:14 -0700
committerSiva Velusamy <vsiva@google.com>2011-10-09 16:21:14 -0700
commit7f11f7bddb3fde2ac44499094c28a923f00873e2 (patch)
tree984c915dd93ea3e2b7aaa33ce4f3bbd83cc77457 /ddms/app
parent1b27ad658ca34c0aff64eab9245847258a06b83b (diff)
downloadsdk-7f11f7bddb3fde2ac44499094c28a923f00873e2.zip
sdk-7f11f7bddb3fde2ac44499094c28a923f00873e2.tar.gz
sdk-7f11f7bddb3fde2ac44499094c28a923f00873e2.tar.bz2
Make the new heap panel to be the default.
The old implementation can be used via the env var ANDROID_DDMS_OLD_HEAP_PANEL=1 Change-Id: Iaf6320d3af73d94d0712e476f8a33d07349f415a
Diffstat (limited to 'ddms/app')
-rw-r--r--ddms/app/src/com/android/ddms/UIThread.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/ddms/app/src/com/android/ddms/UIThread.java b/ddms/app/src/com/android/ddms/UIThread.java
index 0a667d4..213f6bf 100644
--- a/ddms/app/src/com/android/ddms/UIThread.java
+++ b/ddms/app/src/com/android/ddms/UIThread.java
@@ -399,11 +399,11 @@ public class UIThread implements IUiSelectionListener, IClientChangeListener {
mPanels[PANEL_THREAD] = new ThreadPanel();
mPanels[PANEL_HEAP] = new HeapPanel();
if (PrefsDialog.getStore().getBoolean(PrefsDialog.SHOW_NATIVE_HEAP)) {
- if (System.getenv("ANDROID_DDMS_NEW_HEAP_PANEL") != null) {
+ if (System.getenv("ANDROID_DDMS_OLD_HEAP_PANEL") != null) {
+ mPanels[PANEL_NATIVE_HEAP] = new NativeHeapPanel();
+ } else {
mPanels[PANEL_NATIVE_HEAP] =
new com.android.ddmuilib.heap.NativeHeapPanel(getStore());
- } else {
- mPanels[PANEL_NATIVE_HEAP] = new NativeHeapPanel();
}
} else {
mPanels[PANEL_NATIVE_HEAP] = null;