Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8fa292ae authored by Austin Wang's avatar Austin Wang
Browse files

Fix ConcurrentModificationException when time changed

Flag: NA
Bug: 322409406
Test: on preview wait for time tick
Change-Id: Iad1c97f7537551cc6b9c968257258055db37717f
parent 31445e3f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -46,7 +46,7 @@ class ClockViewFactoryImpl(
) : ClockViewFactory {
    private val resources = appContext.resources
    private val timeTickListeners: ConcurrentHashMap<Int, TimeTicker> = ConcurrentHashMap()
    private val clockControllers: HashMap<String, ClockController> = HashMap()
    private val clockControllers: ConcurrentHashMap<String, ClockController> = ConcurrentHashMap()
    private val smallClockFrames: HashMap<String, FrameLayout> = HashMap()

    override fun getController(clockId: String): ClockController {