Fix inspector build exception (again). (#8619)

This commit is contained in:
Alessandro Jean 2021-08-17 22:55:33 -03:00 committed by GitHub
parent c9651735f5
commit f3a4f33666
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ import java.util.concurrent.TimeUnit
class CloudflareWafInterceptor(private val cookieDomain: String) : Interceptor { class CloudflareWafInterceptor(private val cookieDomain: String) : Interceptor {
private val context = Injekt.get<Application>() private val context = Injekt.get<Application>()
private val handler by lazy { Handler(Looper.getMainLooper()) } private val handler by lazy { Handler(Looper.getMainLooper()) }
private val cookieManager = CookieManager.getInstance() private val cookieManager by lazy { CookieManager.getInstance() }
private val initWebView by lazy { private val initWebView by lazy {
WebSettings.getDefaultUserAgent(context) WebSettings.getDefaultUserAgent(context)