make sure recording widget always displays if recording is ongoing
This commit is contained in:
parent
67c93d9002
commit
c0d385afae
1 changed files with 4 additions and 0 deletions
|
@ -182,7 +182,11 @@ public class OsmandMonitoringPlugin extends OsmandPlugin implements MonitoringIn
|
||||||
subtxt = ds.substring(ls + 1);
|
subtxt = ds.substring(ls + 1);
|
||||||
}
|
}
|
||||||
if(globalRecord) {
|
if(globalRecord) {
|
||||||
|
//indicates global recording (+background recording)
|
||||||
d = monitoringBig;
|
d = monitoringBig;
|
||||||
|
} else if (settings.SAVE_TRACK_TO_GPX.get()) {
|
||||||
|
//indicates (profile-based, configured in settings) screen-on recording
|
||||||
|
d = monitoringSmall;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
setText(txt, subtxt);
|
setText(txt, subtxt);
|
||||||
|
|
Loading…
Reference in a new issue