]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blobdiff - app/src/main/java/com/stoutner/privacybrowser/dialogs/SslCertificateErrorDialog.kt
Block trackers listed at privacytests.org. https://redmine.stoutner.com/issues/863
[PrivacyBrowserAndroid.git] / app / src / main / java / com / stoutner / privacybrowser / dialogs / SslCertificateErrorDialog.kt
index d146de5300c77c364ce7695e148d18e087561f54..04ff898238c530754451f356c6d06bd4c767d92d 100644 (file)
@@ -322,6 +322,7 @@ class SslCertificateErrorDialog : DialogFragment() {
         private val activityWeakReference: WeakReference<Activity> = WeakReference(activity)
         private val alertDialogWeakReference: WeakReference<AlertDialog> = WeakReference(alertDialog)
 
+        @Deprecated("Deprecated in Java")
         override fun doInBackground(vararg domainName: String): SpannableStringBuilder {
             // Get handles for the activity and the alert dialog.
             val activity = activityWeakReference.get()
@@ -372,6 +373,7 @@ class SslCertificateErrorDialog : DialogFragment() {
         }
 
         // `onPostExecute()` operates on the UI thread.
+        @Deprecated("Deprecated in Java")
         override fun onPostExecute(ipAddresses: SpannableStringBuilder) {
             // Get handles for the activity and the alert dialog.
             val activity = activityWeakReference.get()