Skip to content

Commit 864b6b0

Browse files
committed
Remove unnecessary logging on WebView disposal
ET-5676
1 parent c9dc7ad commit 864b6b0

File tree

1 file changed

+0
-2
lines changed
  • mail-message/presentation/src/main/kotlin/ch/protonmail/android/mailmessage/presentation/ui

1 file changed

+0
-2
lines changed

mail-message/presentation/src/main/kotlin/ch/protonmail/android/mailmessage/presentation/ui/MessageBodyWebView.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -405,12 +405,10 @@ private fun configureOnTouchListener(webView: ZoomableWebView) {
405405
}
406406

407407
private fun webViewCleanup(webView: WebView, messageId: MessageId) {
408-
Timber.d("Starting clean up for webView: $messageId, attached: ${webView.isAttachedToWindow}")
409408
runCatching {
410409
webView.stopLoading()
411410
webView.loadUrl("about:blank")
412411
webView.destroy()
413-
Timber.d("Clean up completed for webView: $messageId")
414412
}.onFailure { e ->
415413
Timber.e(e, "Failed to clean up webView: $messageId")
416414
}

0 commit comments

Comments
 (0)