Temporarily make WebResourceError.getDescription() non-abstract
so the current version of WebView doesn't crash on it.
Bug:
20064008,
21063767
Change-Id: I15a1abb5df76263006d14eb589fe0076d5aac582
}
public abstract class WebResourceError {
- method public abstract java.lang.CharSequence getDescription();
+ method public java.lang.CharSequence getDescription();
method public abstract int getErrorCode();
}
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();
}
* 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.