[Android] AboutFragment: Enable Javascript in license webview for source browsing
Diego Fernando Nieto
git at videolan.org
Sun Jun 28 10:40:17 CEST 2020
vlc-android | branch: master | Diego Fernando Nieto <diegofn at me.com> | Sat Jun 13 11:31:00 2020 -0500| [4d06d4af79cccf7f836a11965493f4c89fb9f806] | committer: Nicolas Pomepuy
AboutFragment: Enable Javascript in license webview for source browsing
> https://code.videolan.org/videolan/vlc-android/commit/4d06d4af79cccf7f836a11965493f4c89fb9f806
---
application/vlc-android/src/org/videolan/vlc/gui/AboutFragment.kt | 2 --
1 file changed, 2 deletions(-)
diff --git a/application/vlc-android/src/org/videolan/vlc/gui/AboutFragment.kt b/application/vlc-android/src/org/videolan/vlc/gui/AboutFragment.kt
index ecd0d5528..734711d99 100644
--- a/application/vlc-android/src/org/videolan/vlc/gui/AboutFragment.kt
+++ b/application/vlc-android/src/org/videolan/vlc/gui/AboutFragment.kt
@@ -121,7 +121,6 @@ class AboutFragment : Fragment() {
"style.innerHTML = window.atob('" + encoded + "');" +
"parent.appendChild(style);" +
"})()")
- webView.settings.javaScriptEnabled = false
} catch (e: Exception) {
e.printStackTrace()
}
@@ -138,7 +137,6 @@ class AboutFragment : Fragment() {
"link.setAttribute('href', newLink);" +
"link.innerText = newLink;" +
"})()")
- webView.settings.javaScriptEnabled = false
} catch (e: Exception) {
e.printStackTrace()
}
More information about the Android
mailing list