Fix live track auto update in UserGpxInfoFragment
(cherry picked from commit 1c4322ab0a
)
This commit is contained in:
parent
a33be76618
commit
0e965dd796
1 changed files with 7 additions and 0 deletions
|
@ -232,6 +232,13 @@ class UserGpxInfoFragment : BaseDialogFragment() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
override fun onResume() {
|
||||||
|
super.onResume()
|
||||||
|
if (liveTrackEnabled()) {
|
||||||
|
startHandler()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
private fun startHandler() {
|
private fun startHandler() {
|
||||||
log.debug("startHandler")
|
log.debug("startHandler")
|
||||||
if (!handler.hasMessages(TRACK_UPDATE_MSG_ID)) {
|
if (!handler.hasMessages(TRACK_UPDATE_MSG_ID)) {
|
||||||
|
|
Loading…
Reference in a new issue