diff options
Diffstat (limited to 'src/com/android/browser/Tab.java')
-rw-r--r-- | src/com/android/browser/Tab.java | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/com/android/browser/Tab.java b/src/com/android/browser/Tab.java index e948d01..8a3febe 100644 --- a/src/com/android/browser/Tab.java +++ b/src/com/android/browser/Tab.java @@ -685,12 +685,12 @@ class Tab implements PictureListener { errorCode != WebViewClient.ERROR_UNSUPPORTED_SCHEME && errorCode != WebViewClient.ERROR_FILE) { queueError(errorCode, description); - } - // Don't log URLs when in private browsing mode - if (!isPrivateBrowsingEnabled()) { - Log.e(LOGTAG, "onReceivedError " + errorCode + " " + failingUrl + // Don't log URLs when in private browsing mode + if (!isPrivateBrowsingEnabled()) { + Log.e(LOGTAG, "onReceivedError " + errorCode + " " + failingUrl + " " + description); + } } } @@ -1014,7 +1014,6 @@ class Tab implements PictureListener { // Build a confirmation dialog to display to the user. final AlertDialog d = new AlertDialog.Builder(mContext) - .setTitle(R.string.attention) .setIcon(android.R.drawable.ic_dialog_alert) .setMessage(R.string.popup_window_attempt) .setPositiveButton(R.string.allow, allowListener) @@ -1266,7 +1265,6 @@ class Tab implements PictureListener { final View layout = inflater.inflate(R.layout.setup_autofill_dialog, null); builder.setView(layout) - .setTitle(R.string.autofill_setup_dialog_title) .setPositiveButton(R.string.ok, new DialogInterface.OnClickListener() { @Override public void onClick(DialogInterface dialog, int id) { |