Merge "Tiny fix after updating the error reporting API" into mnc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
9355966878
@@ -38808,7 +38808,7 @@ package android.webkit {
|
||||
}
|
||||
|
||||
public abstract class WebResourceError {
|
||||
method public abstract java.lang.CharSequence getDescription();
|
||||
method public java.lang.CharSequence getDescription();
|
||||
method public abstract int getErrorCode();
|
||||
}
|
||||
|
||||
|
||||
@@ -41132,7 +41132,7 @@ package android.webkit {
|
||||
|
||||
public abstract class WebResourceError {
|
||||
ctor public WebResourceError();
|
||||
method public abstract java.lang.CharSequence getDescription();
|
||||
method public java.lang.CharSequence getDescription();
|
||||
method public abstract int getErrorCode();
|
||||
}
|
||||
|
||||
|
||||
@@ -36,8 +36,11 @@ public abstract class WebResourceError {
|
||||
* and thus can be used for communicating the problem to the user.
|
||||
*
|
||||
* @return The description of the error
|
||||
*
|
||||
* Will become abstract after updated WebView.apk will be submitted
|
||||
* into the Android tree.
|
||||
*/
|
||||
public abstract CharSequence getDescription();
|
||||
public CharSequence getDescription() { return ""; }
|
||||
|
||||
/**
|
||||
* This class can not be subclassed by applications.
|
||||
|
||||
Reference in New Issue
Block a user