summaryrefslogtreecommitdiffstats
path: root/app/src
diff options
context:
space:
mode:
authortom79 <tschneider.ac@gmail.com>2020-03-28 17:04:43 +0100
committertom79 <tschneider.ac@gmail.com>2020-03-28 17:04:43 +0100
commit4c7dbc3237384eab92ea69e5c51ded48b3f610a2 (patch)
treeab4424f1ebce69d095c8d2e77ecef80aba3b2dde /app/src
parentaf1e0d678cbe83ae36258f46c55e9af4b9d0f4c5 (diff)
copy release notes
Diffstat (limited to 'app/src')
-rw-r--r--app/src/main/java/app/fedilab/android/webview/CustomWebview.java57
1 files changed, 0 insertions, 57 deletions
diff --git a/app/src/main/java/app/fedilab/android/webview/CustomWebview.java b/app/src/main/java/app/fedilab/android/webview/CustomWebview.java
deleted file mode 100644
index 1fa2dc034..000000000
--- a/app/src/main/java/app/fedilab/android/webview/CustomWebview.java
+++ /dev/null
@@ -1,57 +0,0 @@
-package app.fedilab.android.webview;
-/* Copyright 2019 Thomas Schneider
- *
- * This file is a part of Fedilab
- *
- * This program is free software; you can redistribute it and/or modify it under the terms of the
- * GNU General Public License as published by the Free Software Foundation; either version 3 of the
- * License, or (at your option) any later version.
- *
- * Fedilab is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
- * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
- * Public License for more details.
- *
- * You should have received a copy of the GNU General Public License along with Fedilab; if not,
- * see <http://www.gnu.org/licenses>. */
-
-import android.annotation.TargetApi;
-import android.content.Context;
-import android.content.res.Configuration;
-import android.os.Build;
-import android.util.AttributeSet;
-import android.webkit.WebView;
-
-
-/**
- * Created by Thomas on 14/10/2019.
- * CustomWebview
- */
-
-public class CustomWebview extends WebView {
-
-
- public CustomWebview(Context context) {
- super(getFixedContext(context));
- }
-
- public CustomWebview(Context context, AttributeSet attrs) {
- super(getFixedContext(context), attrs);
- }
-
- public CustomWebview(Context context, AttributeSet attrs, int defStyleAttr) {
- super(getFixedContext(context), attrs, defStyleAttr);
- }
-
- @TargetApi(Build.VERSION_CODES.LOLLIPOP)
- public CustomWebview(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) {
- super(getFixedContext(context), attrs, defStyleAttr, defStyleRes);
- }
-
- public CustomWebview(Context context, AttributeSet attrs, int defStyleAttr, boolean privateBrowsing) {
- super(getFixedContext(context), attrs, defStyleAttr, privateBrowsing);
- }
-
- public static Context getFixedContext(Context context) {
- return context.createConfigurationContext(new Configuration());
- }
-} \ No newline at end of file