Update GLActivity.java

This commit is contained in:
Alexey Pelykh 2014-10-07 15:45:15 +03:00
parent c1995b237b
commit 406b97339e

View file

@ -167,7 +167,7 @@ public class GLActivity extends Activity {
Log.i(TAG, "Initializing core..."); Log.i(TAG, "Initializing core...");
_coreResources = CoreResourcesFromAndroidAssetsCustom.loadFromCurrentApplication(this); _coreResources = CoreResourcesFromAndroidAssetsCustom.loadFromCurrentApplication(this);
OsmAndCore.InitializeCore(_coreResources); OsmAndCore.InitializeCore(_coreResources.instantiateProxy());
File directory =getApp().getAppPath(""); File directory =getApp().getAppPath("");
_fileLogSink = QIODeviceLogSink.createFileLogSink(directory.getAbsolutePath() + "/osmandcore.log"); _fileLogSink = QIODeviceLogSink.createFileLogSink(directory.getAbsolutePath() + "/osmandcore.log");