[components] Update Kotlin to 1.5.10 (and Coroutines to 1.5.0 and Room to 2.3.0).
This commit is contained in:
committed by
mergify[bot]
parent
2e043c7452
commit
28a76101be
@@ -18,6 +18,7 @@ import androidx.lifecycle.Observer
|
||||
import androidx.recyclerview.widget.LinearLayoutManager
|
||||
import androidx.recyclerview.widget.RecyclerView
|
||||
import kotlinx.coroutines.CoroutineScope
|
||||
import kotlinx.coroutines.DelicateCoroutinesApi
|
||||
import kotlinx.coroutines.Dispatchers
|
||||
import kotlinx.coroutines.GlobalScope
|
||||
import kotlinx.coroutines.Job
|
||||
@@ -375,6 +376,7 @@ class ToolbarActivity : AppCompatActivity() {
|
||||
/**
|
||||
* A toolbar that looks like the toolbar in Fenix in a custom tab.
|
||||
*/
|
||||
@OptIn(DelicateCoroutinesApi::class) // GlobalScope usage
|
||||
@Suppress("MagicNumber")
|
||||
fun setupFenixCustomTabToolbar() {
|
||||
binding.toolbar.setBackgroundColor(0xFFFFFFFF.toInt())
|
||||
|
||||
Reference in New Issue
Block a user