[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| [2d5cf359889c3eba7ed1ae44119a59fec89bc5ed] | committer: Diego Fernando Nieto
AboutFragment: Enable Javascript in license webview for source browsing
> https://code.videolan.org/videolan/vlc-android/commit/2d5cf359889c3eba7ed1ae44119a59fec89bc5ed
---
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