Skip to content
This repository has been archived by the owner on Sep 14, 2022. It is now read-only.

Commit

Permalink
Remove debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
Trott committed Jan 8, 2012
1 parent 9caeb71 commit a9de0c0
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import android.graphics.Bitmap;
import android.os.Bundle;
import android.provider.Settings;
import android.util.Log;
import android.view.KeyEvent;
import android.view.Menu;
import android.view.MenuInflater;
Expand Down Expand Up @@ -183,7 +182,6 @@ public void onPageFinished(WebView view, String url) {
@Override
public void onReceivedError(WebView view, int errorCode,
String description, String failingUrl) {
Log.d("MWFWebViewClient","received error");
view.stopLoading();
view.clearView();

Expand All @@ -195,9 +193,7 @@ public void onReceivedError(WebView view, int errorCode,
// reload() will show a quick flash of the default
// WebView error page so we use loadUrl() instead.
view.loadUrl(failingUrl);
Log.d("MWFWebViewClient","trying again");
} else {
Log.d("MWFWebViewClient","no dice");
displayErrorMessage("Could not load contents. Are you offline?");
if (view.canGoBack())
view.goBack();
Expand Down

0 comments on commit a9de0c0

Please sign in to comment.