summaryrefslogtreecommitdiff
path: root/core/java/android/webkit/WebViewDelegate.java
diff options
context:
space:
mode:
authorNarayan Kamath <narayan@google.com>2014-11-27 17:53:04 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-11-27 17:53:04 +0000
commit10a36fb749d05bd90fc8ef3114562cacb631c07c (patch)
tree170b6838a1257d31310df66452872e282a94f3cd /core/java/android/webkit/WebViewDelegate.java
parent8036d2ec739636c1913a417cace97a5027d0270d (diff)
parentf1a9b1bc249161fe1a9b0d85d4ed31153e4421c1 (diff)
Merge "Stop using ErrorStrings for apache."
Diffstat (limited to 'core/java/android/webkit/WebViewDelegate.java')
-rw-r--r--core/java/android/webkit/WebViewDelegate.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/java/android/webkit/WebViewDelegate.java b/core/java/android/webkit/WebViewDelegate.java
index 3dcfda333398..a247c4610100 100644
--- a/core/java/android/webkit/WebViewDelegate.java
+++ b/core/java/android/webkit/WebViewDelegate.java
@@ -22,7 +22,6 @@ import android.app.Application;
import android.content.Context;
import android.content.res.Resources;
import android.graphics.Canvas;
-import android.net.http.ErrorStrings;
import android.os.SystemProperties;
import android.os.Trace;
import android.util.SparseArray;
@@ -150,7 +149,7 @@ public final class WebViewDelegate {
* Returns the error string for the given {@code errorCode}.
*/
public String getErrorString(Context context, int errorCode) {
- return ErrorStrings.getString(errorCode, context);
+ return LegacyErrorStrings.getString(errorCode, context);
}
/**