Skip to content

Commit

Permalink
ktlintCheck
Browse files Browse the repository at this point in the history
  • Loading branch information
Roffild committed Apr 21, 2024
1 parent faccb1e commit cd4fe6b
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@ import kotlinx.coroutines.GlobalScope
import kotlinx.coroutines.Job
import kotlinx.coroutines.delay
import kotlinx.coroutines.launch
import kotlinx.coroutines.runBlocking
import kotlinx.coroutines.sync.Mutex
import kotlinx.coroutines.withContext
import okhttp3.HttpUrl.Companion.toHttpUrl
Expand Down Expand Up @@ -493,7 +492,7 @@ class WebViewActivity : BaseActivity(), io.homeassistant.companion.android.webvi
startActivity(browserIntent)
return true
} else {
//Log.d(TAG, "No unique cases found to override url=${it}") // Unstoppable flood.
// Log.d(TAG, "No unique cases found to override url=${it}") // Unstoppable flood.
}
} catch (e: Exception) {
Log.e(TAG, "Unable to override the URL", e)
Expand Down Expand Up @@ -1229,7 +1228,7 @@ class WebViewActivity : BaseActivity(), io.homeassistant.companion.android.webvi
}

override fun loadUrl(url: String, keepHistory: Boolean, openInApp: Boolean) {
Log.d(TAG, "loadUrl(url=${url}, keepHistory=${keepHistory}, openInApp=${openInApp})")
Log.d(TAG, "loadUrl(url=$url, keepHistory=$keepHistory, openInApp=$openInApp)")
if (openInApp) {
isPageFinished = false
pageError = 0
Expand Down Expand Up @@ -1537,7 +1536,7 @@ class WebViewActivity : BaseActivity(), io.homeassistant.companion.android.webvi

private fun reloadPage() {
if (isPageFinished || pageError != 0) {
Log.d(TAG, "reloadPage: isPageFinished=${isPageFinished} pageError=${pageError}")
Log.d(TAG, "reloadPage: isPageFinished=$isPageFinished pageError=$pageError")
isPageFinished = false
pageError = 0
webView.reload()
Expand Down

0 comments on commit cd4fe6b

Please sign in to comment.