diff options
author | Derek Sollenberger <djsollen@google.com> | 2009-06-03 10:44:42 -0400 |
---|---|---|
committer | Derek Sollenberger <djsollen@google.com> | 2009-06-03 12:02:59 -0400 |
commit | 2e5c150e746647a1ce5c10e1708debbf06c45ea7 (patch) | |
tree | 6dbdd76473d99a1c84e581ad5750d0bc314b1562 /core/java/android/webkit/FrameLoader.java | |
parent | 93e50888fe0a9c897de05aeb2347d76fc1e00ab1 (diff) | |
download | frameworks_base-2e5c150e746647a1ce5c10e1708debbf06c45ea7.zip frameworks_base-2e5c150e746647a1ce5c10e1708debbf06c45ea7.tar.gz frameworks_base-2e5c150e746647a1ce5c10e1708debbf06c45ea7.tar.bz2 |
Centralized debug flags and enabled more granular control of debug settings.
Diffstat (limited to 'core/java/android/webkit/FrameLoader.java')
-rw-r--r-- | core/java/android/webkit/FrameLoader.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/core/java/android/webkit/FrameLoader.java b/core/java/android/webkit/FrameLoader.java index 6f1b160..c33744e 100644 --- a/core/java/android/webkit/FrameLoader.java +++ b/core/java/android/webkit/FrameLoader.java @@ -120,7 +120,7 @@ class FrameLoader { } else if (handleLocalFile(url, mListener, mSettings)) { return true; } - if (WebView.LOGV_ENABLED) { + if (DebugFlags.FRAME_LOADER) { Log.v(LOGTAG, "FrameLoader.executeLoad: url protocol not supported:" + mListener.url()); } @@ -180,7 +180,7 @@ class FrameLoader { return true; } - if (WebView.LOGV_ENABLED) { + if (DebugFlags.FRAME_LOADER) { Log.v(LOGTAG, "FrameLoader: http " + mMethod + " load for: " + mListener.url()); } @@ -211,7 +211,7 @@ class FrameLoader { * setup a load from the byte stream in a CacheResult. */ private void startCacheLoad(CacheResult result) { - if (WebView.LOGV_ENABLED) { + if (DebugFlags.FRAME_LOADER) { Log.v(LOGTAG, "FrameLoader: loading from cache: " + mListener.url()); } @@ -285,7 +285,7 @@ class FrameLoader { // of it's state. If it is not in the cache, then go to the // network. case WebSettings.LOAD_CACHE_ELSE_NETWORK: { - if (WebView.LOGV_ENABLED) { + if (DebugFlags.FRAME_LOADER) { Log.v(LOGTAG, "FrameLoader: checking cache: " + mListener.url()); } |