summaryrefslogtreecommitdiff
path: root/src/com/android/browser/Browser.java
diff options
context:
space:
mode:
authorDave Bort <dbort@android.com>2009-04-13 15:56:49 -0700
committerDave Bort <dbort@android.com>2009-04-13 15:58:41 -0700
commit31a6d1cb63a513712bad717a6239919fd5428fd1 (patch)
treef11ff985e2de83a456900f2eca21a1816c9880e7 /src/com/android/browser/Browser.java
parent90790a1d4d2b8d37aa9acd1e5e34bd62549f9784 (diff)
downloadBrowser-31a6d1cb63a513712bad717a6239919fd5428fd1.tar.gz
Browser: Remove references to android.util.Config
The semantics of Config.DEBUG will be changing soon, and all other Config.* fields will become deprecated/hidden. BUG=1780938
Diffstat (limited to 'src/com/android/browser/Browser.java')
-rw-r--r--src/com/android/browser/Browser.java12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/com/android/browser/Browser.java b/src/com/android/browser/Browser.java
index 32cee670..524f7896 100644
--- a/src/com/android/browser/Browser.java
+++ b/src/com/android/browser/Browser.java
@@ -16,7 +16,6 @@
package com.android.browser;
-import android.util.Config;
import android.util.Log;
import android.app.Application;
@@ -30,6 +29,15 @@ public class Browser extends Application {
private final static String LOGTAG = "browser";
+ // Set to true to enable extra debugging.
+ final static boolean DEBUG = false;
+
+ // Set to true to enable verbose logging.
+ final static boolean LOGV_ENABLED = DEBUG;
+
+ // Set to true to enable extra debug logging.
+ final static boolean LOGD_ENABLED = true;
+
/**
* Specifies a heap utilization ratio that works better
* for the browser than the default ratio does.
@@ -40,7 +48,7 @@ public class Browser extends Application {
}
public void onCreate() {
- if (Config.LOGV)
+ if (LOGV_ENABLED)
Log.v(LOGTAG, "Browser.onCreate: this=" + this);
// Fix heap utilization for better heap size characteristics.
VMRuntime.getRuntime().setTargetHeapUtilization(