From f55cef6237b186127d79be8f6d96ece1139d0997 Mon Sep 17 00:00:00 2001 From: Pavol Zibrita Date: Fri, 9 Dec 2011 02:53:09 +0100 Subject: [PATCH] update the day/night mode setting when app mode changes --- OsmAnd/src/net/osmand/plus/activities/MapActivity.java | 1 + 1 file changed, 1 insertion(+) diff --git a/OsmAnd/src/net/osmand/plus/activities/MapActivity.java b/OsmAnd/src/net/osmand/plus/activities/MapActivity.java index 5d5c24ddf1..2f95e10c53 100644 --- a/OsmAnd/src/net/osmand/plus/activities/MapActivity.java +++ b/OsmAnd/src/net/osmand/plus/activities/MapActivity.java @@ -887,6 +887,7 @@ public class MapActivity extends Activity implements IMapLocationListener, Senso registerUnregisterSensor(getLastKnownLocation()); mapLayers.getMapInfoLayer().applyTheme(); mapLayers.updateLayers(mapView); + getMyApplication().getDaynightHelper().setDayNightMode(settings.DAYNIGHT_MODE.get()); }