set PT to safemode (java) by default for now
This commit is contained in:
parent
c835fb05e4
commit
e8cfe3fd8b
2 changed files with 3 additions and 2 deletions
|
@ -756,7 +756,8 @@ public class AppInitializer implements IProgress {
|
||||||
// native depends on renderers
|
// native depends on renderers
|
||||||
initNativeCore();
|
initNativeCore();
|
||||||
notifyEvent(InitEvents.NATIVE_INITIALIZED);
|
notifyEvent(InitEvents.NATIVE_INITIALIZED);
|
||||||
|
//delete in next release:
|
||||||
|
app.osmandSettings.PT_SAFE_MODE.set(true);
|
||||||
app.favorites.loadFavorites();
|
app.favorites.loadFavorites();
|
||||||
app.gpxDbHelper.loadGpxItems();
|
app.gpxDbHelper.loadGpxItems();
|
||||||
notifyEvent(InitEvents.FAVORITES_INITIALIZED);
|
notifyEvent(InitEvents.FAVORITES_INITIALIZED);
|
||||||
|
|
|
@ -3780,7 +3780,7 @@ public class OsmandSettings {
|
||||||
|
|
||||||
// this value string is synchronized with settings_pref.xml preference name
|
// 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> 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> NATIVE_RENDERING_FAILED = new BooleanPreference("native_rendering_failed_init", false).makeGlobal();
|
||||||
|
|
||||||
public final OsmandPreference<Boolean> USE_OPENGL_RENDER = new BooleanPreference("use_opengl_render",
|
public final OsmandPreference<Boolean> USE_OPENGL_RENDER = new BooleanPreference("use_opengl_render",
|
||||||
|
|
Loading…
Reference in a new issue