X-Git-Url: https://gitweb.stoutner.com/?p=PrivacyBrowserAndroid.git;a=blobdiff_plain;f=app%2Fsrc%2Fmain%2Fjava%2Fcom%2Fstoutner%2Fprivacybrowser%2Fdialogs%2FSslCertificateErrorDialog.kt;fp=app%2Fsrc%2Fmain%2Fjava%2Fcom%2Fstoutner%2Fprivacybrowser%2Fdialogs%2FSslCertificateErrorDialog.kt;h=04ff898238c530754451f356c6d06bd4c767d92d;hp=d146de5300c77c364ce7695e148d18e087561f54;hb=0b2da52fc661cf302cd94105620e54340d269f1d;hpb=78c667bb7af51465bc4258c39a24a8b4a00752fd diff --git a/app/src/main/java/com/stoutner/privacybrowser/dialogs/SslCertificateErrorDialog.kt b/app/src/main/java/com/stoutner/privacybrowser/dialogs/SslCertificateErrorDialog.kt index d146de53..04ff8982 100644 --- a/app/src/main/java/com/stoutner/privacybrowser/dialogs/SslCertificateErrorDialog.kt +++ b/app/src/main/java/com/stoutner/privacybrowser/dialogs/SslCertificateErrorDialog.kt @@ -322,6 +322,7 @@ class SslCertificateErrorDialog : DialogFragment() { private val activityWeakReference: WeakReference = WeakReference(activity) private val alertDialogWeakReference: WeakReference = 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()