set PT to safemode (java) by default for now

This commit is contained in:
MadWasp79 2020-05-15 15:27:37 +03:00
parent c835fb05e4
commit e8cfe3fd8b
2 changed files with 3 additions and 2 deletions

View file

@ -756,7 +756,8 @@ public class AppInitializer implements IProgress {
// native depends on renderers
initNativeCore();
notifyEvent(InitEvents.NATIVE_INITIALIZED);
//delete in next release:
app.osmandSettings.PT_SAFE_MODE.set(true);
app.favorites.loadFavorites();
app.gpxDbHelper.loadGpxItems();
notifyEvent(InitEvents.FAVORITES_INITIALIZED);

View file

@ -3780,7 +3780,7 @@ public class OsmandSettings {
// this value string is synchronized with settings_pref.xml preference name
public final OsmandPreference<Boolean> SAFE_MODE = new BooleanPreference("safe_mode", false).makeGlobal();
public final OsmandPreference<Boolean> PT_SAFE_MODE = new BooleanPreference("pt_safe_mode", false).makeGlobal();
public final OsmandPreference<Boolean> PT_SAFE_MODE = new BooleanPreference("pt_safe_mode", true).makeGlobal();
public final OsmandPreference<Boolean> NATIVE_RENDERING_FAILED = new BooleanPreference("native_rendering_failed_init", false).makeGlobal();
public final OsmandPreference<Boolean> USE_OPENGL_RENDER = new BooleanPreference("use_opengl_render",