diff options
author | Siva Velusamy <vsiva@google.com> | 2011-08-16 17:54:35 -0700 |
---|---|---|
committer | Siva Velusamy <vsiva@google.com> | 2011-08-17 11:20:19 -0700 |
commit | 4000b0448ad1edd0aee7882a974bf02c829669ca (patch) | |
tree | 9112a567614df092afac8e95b912214131687ebf /ddms/app/src | |
parent | 50192fe103eacf358a399358f9945944fc142e44 (diff) | |
download | sdk-4000b0448ad1edd0aee7882a974bf02c829669ca.zip sdk-4000b0448ad1edd0aee7882a974bf02c829669ca.tar.gz sdk-4000b0448ad1edd0aee7882a974bf02c829669ca.tar.bz2 |
Make new logcat view to be the default in DDMS.
The old view can be activated by setting the env variable
ANDROID_USE_OLD_LOGCAT_VIEW.
Change-Id: I006aaba26f323b12b6da70f22f8584ad76fb5041
Diffstat (limited to 'ddms/app/src')
-rw-r--r-- | ddms/app/src/com/android/ddms/UIThread.java | 6 |
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 5506428..ecc3b3f 100644 --- a/ddms/app/src/com/android/ddms/UIThread.java +++ b/ddms/app/src/com/android/ddms/UIThread.java @@ -228,10 +228,10 @@ public class UIThread implements IUiSelectionListener, IClientChangeListener { * Flag to indicate whether to use the old or the new logcat view. This is a * temporary workaround that will be removed once the new view is complete. */ - private static final String USE_NEW_LOGCAT_VIEW = - System.getenv("ANDROID_USE_NEW_LOGCAT_VIEW"); + private static final String USE_OLD_LOGCAT_VIEW = + System.getenv("ANDROID_USE_OLD_LOGCAT_VIEW"); public static boolean useOldLogCatView() { - return USE_NEW_LOGCAT_VIEW == null; + return USE_OLD_LOGCAT_VIEW != null; } private LogPanel mLogPanel; /* only valid when useOldLogCatView() == true */ |