Fix inspector build exception (again). (#8619)
This commit is contained in:
parent
c9651735f5
commit
f3a4f33666
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue