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

Commit 5048cd77 authored by George Mount's avatar George Mount Committed by Android (Google) Code Review
Browse files

Merge "Remove unused ENABLE_ANDROID_INSTALLABLE_WEB_APPS"

parents fb4d37cd d594047f
Loading
Loading
Loading
Loading
+0 −13
Original line number Diff line number Diff line
@@ -117,7 +117,6 @@ class CallbackProxy extends Handler {
    private static final int ADD_HISTORY_ITEM                     = 135;
    private static final int HISTORY_INDEX_CHANGED                = 136;
    private static final int AUTH_CREDENTIALS                     = 137;
    private static final int SET_INSTALLABLE_WEBAPP               = 138;
    private static final int NOTIFY_SEARCHBOX_LISTENERS           = 139;
    private static final int AUTO_LOGIN                           = 140;
    private static final int CLIENT_CERT_REQUEST                  = 141;
@@ -858,11 +857,6 @@ class CallbackProxy extends Handler {
                        host, realm, username, password);
                break;
            }
            case SET_INSTALLABLE_WEBAPP:
                if (mWebChromeClient != null) {
                    mWebChromeClient.setInstallableWebApp();
                }
                break;
            case NOTIFY_SEARCHBOX_LISTENERS: {
                SearchBoxImpl searchBox = (SearchBoxImpl) mWebView.getSearchBox();

@@ -1609,13 +1603,6 @@ class CallbackProxy extends Handler {
        sendMessage(msg);
    }

    void setInstallableWebApp() {
        if (mWebChromeClient == null) {
            return;
        }
        sendMessage(obtainMessage(SET_INSTALLABLE_WEBAPP));
    }

    boolean canShowAlertDialog() {
        // We can only display the alert dialog if mContext is
        // an Activity context.
+0 −7
Original line number Diff line number Diff line
@@ -376,13 +376,6 @@ public class WebChromeClient {
        uploadFile.onReceiveValue(null);
    }

    /**
     * Tell the client that the page being viewed is web app capable,
     * i.e. has specified the fullscreen-web-app-capable meta tag.
     * @hide
     */
    public void setInstallableWebApp() { }

    /**
     * Tell the client that the page being viewed has an autofillable
     * form and the user would like to set a profile up.
+0 −7
Original line number Diff line number Diff line
@@ -561,13 +561,6 @@ public final class WebViewCore {
        return mCallbackProxy.onJsTimeout();
    }

    /**
     * Notify the webview that this is an installable web app.
     */
    protected void setInstallableWebApp() {
        mCallbackProxy.setInstallableWebApp();
    }

    /**
     * Notify the webview that we want to display the video layer fullscreen.
     */