Merge pull request #8977 from osmandapp/pt_safemode

set PT to safemode (java) by default for now
This commit is contained in:
vshcherb 2020-05-15 14:34:40 +02:00 committed by GitHub
commit d210886319
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View file

@ -756,7 +756,6 @@ public class AppInitializer implements IProgress {
// native depends on renderers
initNativeCore();
notifyEvent(InitEvents.NATIVE_INITIALIZED);
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",