make sure recording widget always displays if recording is ongoing

This commit is contained in:
sonora 2014-08-23 16:47:35 +02:00
parent 67c93d9002
commit c0d385afae

View file

@ -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);