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

Skip to content
Commit 21ed120c authored by Trogel's avatar Trogel Committed by Michael W
Browse files

DeskClock: Fix updating remaining time in timer

When a TimerViewHolder is bound to a Timer, we need to start
TimerFragment$TimeUpdateRunnable to get the remaining time updated
continously.

Previously, if a running timer was not bound to a holder and then became
bound, only the circle animation was running, but the remaining time was
updated just once.

Calling updateTime in TimerViewHolder.onBind is no longer needed, since
TimerFragment$TimeUpdateRunnable will do that via
TimerAdapter.updateTime.

Fixes: https://gitlab.com/LineageOS/issues/android/-/issues/8474
Change-Id: I096605db590d200e8b20f36762bded4d0d32ca79
parent 6ef8dcae
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment