Fix build error due to Handler. (#10638)
This commit is contained in:
parent
f18924c1fe
commit
812e9b9dd7
|
@ -28,7 +28,7 @@ class TopToonPlusWebViewInterceptor(
|
||||||
private val headers: Headers
|
private val headers: Headers
|
||||||
) : Interceptor {
|
) : Interceptor {
|
||||||
|
|
||||||
private val handler = Handler(Looper.getMainLooper())
|
private val handler by lazy { Handler(Looper.getMainLooper()) }
|
||||||
|
|
||||||
private val windowKey: String by lazy {
|
private val windowKey: String by lazy {
|
||||||
UUID.randomUUID().toString().replace("-", "")
|
UUID.randomUUID().toString().replace("-", "")
|
||||||
|
|
Loading…
Reference in New Issue