synchronized updateGui
This commit is contained in:
parent
dae717d524
commit
bb5157bcca
1 changed files with 2 additions and 0 deletions
|
@ -476,6 +476,7 @@ class OverviewFragment : DaggerFragment(), View.OnClickListener, OnLongClickList
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Synchronized
|
||||||
private fun prepareGraphs() {
|
private fun prepareGraphs() {
|
||||||
val numOfGraphs = overviewMenus.setting.size
|
val numOfGraphs = overviewMenus.setting.size
|
||||||
|
|
||||||
|
@ -530,6 +531,7 @@ class OverviewFragment : DaggerFragment(), View.OnClickListener, OnLongClickList
|
||||||
scheduledUpdate = worker.schedule(task, 500, TimeUnit.MILLISECONDS)
|
scheduledUpdate = worker.schedule(task, 500, TimeUnit.MILLISECONDS)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Synchronized
|
||||||
@SuppressLint("SetTextI18n")
|
@SuppressLint("SetTextI18n")
|
||||||
fun updateGUI(from: String) {
|
fun updateGUI(from: String) {
|
||||||
aapsLogger.debug("UpdateGUI from $from")
|
aapsLogger.debug("UpdateGUI from $from")
|
||||||
|
|
Loading…
Reference in a new issue