synchronized updateGui

This commit is contained in:
Milos Kozak 2020-06-15 11:21:39 +02:00
parent dae717d524
commit bb5157bcca

View file

@ -476,6 +476,7 @@ class OverviewFragment : DaggerFragment(), View.OnClickListener, OnLongClickList
}
@Synchronized
private fun prepareGraphs() {
val numOfGraphs = overviewMenus.setting.size
@ -530,6 +531,7 @@ class OverviewFragment : DaggerFragment(), View.OnClickListener, OnLongClickList
scheduledUpdate = worker.schedule(task, 500, TimeUnit.MILLISECONDS)
}
@Synchronized
@SuppressLint("SetTextI18n")
fun updateGUI(from: String) {
aapsLogger.debug("UpdateGUI from $from")