]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blobdiff - app/src/main/java/com/stoutner/privacybrowser/fragments/AboutWebViewFragment.kt
Fix the WebView layout with bottom app bars. https://redmine.stoutner.com/issues/839
[PrivacyBrowserAndroid.git] / app / src / main / java / com / stoutner / privacybrowser / fragments / AboutWebViewFragment.kt
index 3f14e183bd8f00cf273e19b3c3e7b34e9b7cbf3f..3b516ec546d53b5824f51f3ffdc4a1348999f611 100644 (file)
@@ -91,6 +91,7 @@ class AboutWebViewFragment : Fragment() {
         // Set a WebView client.
         tabWebView.webViewClient = object : WebViewClient() {
             // // Send external links back to the main Privacy Browser WebView.  The deprecated `shouldOverrideUrlLoading` must be used until API >= 24.
+            @Deprecated("Deprecated in Java")
             override fun shouldOverrideUrlLoading(view: WebView, url: String): Boolean {
                 // Create an intent to view the URL.
                 val urlIntent = Intent(Intent.ACTION_VIEW)