From 406b97339e360873995d0ed4d3e5f0794b71516b Mon Sep 17 00:00:00 2001 From: Alexey Pelykh Date: Tue, 7 Oct 2014 15:45:15 +0300 Subject: [PATCH] Update GLActivity.java --- OsmAnd/src/net/osmand/core/android/GLActivity.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OsmAnd/src/net/osmand/core/android/GLActivity.java b/OsmAnd/src/net/osmand/core/android/GLActivity.java index 966240f1fc..2c3741c670 100644 --- a/OsmAnd/src/net/osmand/core/android/GLActivity.java +++ b/OsmAnd/src/net/osmand/core/android/GLActivity.java @@ -167,7 +167,7 @@ public class GLActivity extends Activity { Log.i(TAG, "Initializing core..."); _coreResources = CoreResourcesFromAndroidAssetsCustom.loadFromCurrentApplication(this); - OsmAndCore.InitializeCore(_coreResources); + OsmAndCore.InitializeCore(_coreResources.instantiateProxy()); File directory =getApp().getAppPath(""); _fileLogSink = QIODeviceLogSink.createFileLogSink(directory.getAbsolutePath() + "/osmandcore.log"); @@ -503,4 +503,4 @@ public class GLActivity extends Activity { public boolean onOptionsItemSelected(MenuItem item) { return super.onOptionsItemSelected(item); } -} \ No newline at end of file +}