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/BrowserFrame.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/BrowserFrame.java')
-rw-r--r-- | core/java/android/webkit/BrowserFrame.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/core/java/android/webkit/BrowserFrame.java b/core/java/android/webkit/BrowserFrame.java index 08ca209..e04ae72 100644 --- a/core/java/android/webkit/BrowserFrame.java +++ b/core/java/android/webkit/BrowserFrame.java @@ -121,7 +121,7 @@ class BrowserFrame extends Handler { mDatabase = WebViewDatabase.getInstance(context); mWebViewCore = w; - if (WebView.LOGV_ENABLED) { + if (DebugFlags.BROWSER_FRAME) { Log.v(LOGTAG, "BrowserFrame constructor: this=" + this); } } @@ -343,7 +343,7 @@ class BrowserFrame extends Handler { switch (msg.what) { case FRAME_COMPLETED: { if (mSettings.getSavePassword() && hasPasswordField()) { - if (WebView.DEBUG) { + if (DebugFlags.BROWSER_FRAME) { Assert.assertNotNull(mCallbackProxy.getBackForwardList() .getCurrentItem()); } @@ -492,7 +492,7 @@ class BrowserFrame extends Handler { } if (mSettings.getSavePassword() && hasPasswordField()) { try { - if (WebView.DEBUG) { + if (DebugFlags.BROWSER_FRAME) { Assert.assertNotNull(mCallbackProxy.getBackForwardList() .getCurrentItem()); } @@ -540,7 +540,7 @@ class BrowserFrame extends Handler { // is this resource the main-frame top-level page? boolean isMainFramePage = mIsMainFrame; - if (WebView.LOGV_ENABLED) { + if (DebugFlags.BROWSER_FRAME) { Log.v(LOGTAG, "startLoadingResource: url=" + url + ", method=" + method + ", postData=" + postData + ", isHighPriority=" + isHighPriority + ", isMainFramePage=" + isMainFramePage); |