Update GLActivity.java
This commit is contained in:
parent
c1995b237b
commit
406b97339e
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue