Commit cc66a617 authored by luca020400's avatar luca020400

Jelly: Add WebChromeClientCompat

Change-Id: If2c07a92150f039bd0e623cfdeacc2d23d79183f
parent e3b22ba2
......@@ -22,7 +22,6 @@ import android.net.Uri;
import android.view.View;
import android.webkit.GeolocationPermissions;
import android.webkit.ValueCallback;
import android.webkit.WebChromeClient;
import android.webkit.WebView;
import android.widget.EditText;
import android.widget.ProgressBar;
......@@ -31,7 +30,7 @@ import android.widget.Toast;
import org.lineageos.jelly.R;
import org.lineageos.jelly.history.HistoryProvider;
class ChromeClient extends WebChromeClient {
class ChromeClient extends WebChromeClientCompat {
private final WebViewExtActivity mActivity;
private final boolean mIncognito;
......
/*
* Copyright (C) 2017 The LineageOS Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.lineageos.jelly.webview;
import android.webkit.WebChromeClient;
class WebChromeClientCompat extends WebChromeClient {
}
/*
* Copyright (C) 2017 The LineageOS Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.lineageos.jelly.webview;
import android.webkit.WebChromeClient;
import android.webkit.WebView;
class WebChromeClientCompat extends WebChromeClient {
@SuppressWarnings("UnusedParameters")
public void onThemeColorChanged(WebView view, int color) {}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment