fix parentheses

This commit is contained in:
sonora 2014-08-24 11:49:09 +02:00
parent 89fba046d8
commit 6d1bfde23b

View file

@ -332,7 +332,7 @@ public class SavingTrackHelper extends SQLiteOpenHelper {
//check if recording is active for widget status light
if (OsmandPlugin.getEnabledPlugin(OsmandMonitoringPlugin.class) != null) {
if (settings.SAVE_GLOBAL_TRACK_TO_GPX.get() || (settings.SAVE_TRACK_TO_GPX.get() && ctx.getRoutingHelper().isFollowingMode()) {
if (settings.SAVE_GLOBAL_TRACK_TO_GPX.get() || (settings.SAVE_TRACK_TO_GPX.get() && ctx.getRoutingHelper().isFollowingMode())) {
isRecording = true;
}
} else if (ctx.getAppCustomization().saveGPXPoint(location)) {