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

Commit 6aabdc4d authored by Nate Fischer's avatar Nate Fischer
Browse files

WebView: Fix SafeBrowsingResponse API

The methods were previously package-private by mistake. This fixes them
to be public.

Bug: 63615582, 62723291
Test: N/A
Change-Id: Ie9095f861213a70fd655561f911385bdd06632b3
parent 19b49f6c
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -48596,6 +48596,9 @@ package android.webkit {
  public abstract class SafeBrowsingResponse {
    ctor public SafeBrowsingResponse();
    method public abstract void backToSafety(boolean);
    method public abstract void proceed(boolean);
    method public abstract void showInterstitial(boolean);
  }
  public class ServiceWorkerClient {
+3 −0
Original line number Diff line number Diff line
@@ -52207,6 +52207,9 @@ package android.webkit {
  public abstract class SafeBrowsingResponse {
    ctor public SafeBrowsingResponse();
    method public abstract void backToSafety(boolean);
    method public abstract void proceed(boolean);
    method public abstract void showInterstitial(boolean);
  }
  public class ServiceWorkerClient {
+3 −0
Original line number Diff line number Diff line
@@ -49026,6 +49026,9 @@ package android.webkit {
  public abstract class SafeBrowsingResponse {
    ctor public SafeBrowsingResponse();
    method public abstract void backToSafety(boolean);
    method public abstract void proceed(boolean);
    method public abstract void showInterstitial(boolean);
  }
  public class ServiceWorkerClient {
+3 −3
Original line number Diff line number Diff line
@@ -29,19 +29,19 @@ public abstract class SafeBrowsingResponse {
     *
     * @param allowReporting True if the interstitial should show a reporting checkbox.
     */
    abstract void showInterstitial(boolean allowReporting);
    public abstract void showInterstitial(boolean allowReporting);

    /**
     * Act as if the user clicked "visit this unsafe site."
     *
     * @param report True to enable Safe Browsing reporting.
     */
    abstract void proceed(boolean report);
    public abstract void proceed(boolean report);

    /**
     * Act as if the user clicked "back to safety."
     *
     * @param report True to enable Safe Browsing reporting.
     */
    abstract void backToSafety(boolean report);
    public abstract void backToSafety(boolean report);
}