Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6162eafe authored by Mikhail Naganov's avatar Mikhail Naganov
Browse files

Tiny fix after updating the error reporting API

Temporarily make WebResourceError.getDescription() non-abstract
so the current version of WebView doesn't crash on it.

Bug: 20064008, 21063767
Change-Id: I15a1abb5df76263006d14eb589fe0076d5aac582
parent f93d16bc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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();
  }
+1 −1
Original line number Diff line number Diff line
@@ -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();
  }
+4 −1
Original line number Diff line number Diff line
@@ -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.