Move Bootstrap setup and lib pre-loading (for easier debugging) to onCreate()
Change-Id: I77c08dc1236c4c77cfb7711f3be659ebfe877dd1
This commit is contained in:
@@ -135,7 +135,15 @@ public class LibreOfficeUIActivity extends SherlockActivity implements ActionBar
|
||||
currentDirectory = homeDirectory;
|
||||
//Load default settings
|
||||
|
||||
Bootstrap.setup(this);
|
||||
|
||||
Bootstrap.putenv("SAL_LOG=yes");
|
||||
|
||||
// Load a lot of shlibs here explicitly in advance because that
|
||||
// makes debugging work better, sigh
|
||||
Bootstrap.dlopen("libmergedlo.so");
|
||||
Bootstrap.dlopen("libswdlo.so");
|
||||
Bootstrap.dlopen("libswlo.so");
|
||||
}
|
||||
|
||||
public void createUI(){
|
||||
@@ -741,16 +749,6 @@ class ListItemAdapter implements ListAdapter{
|
||||
long t1 = System.currentTimeMillis();
|
||||
timingOverhead = t1 - t0;
|
||||
|
||||
Bootstrap.setup(LibreOfficeUIActivity.this);
|
||||
|
||||
Bootstrap.putenv("SAL_LOG=yes");
|
||||
|
||||
// Load a lot of shlibs here explicitly in advance because that
|
||||
// makes debugging work better, sigh
|
||||
Bootstrap.dlopen("libmergedlo.so");
|
||||
Bootstrap.dlopen("libswdlo.so");
|
||||
Bootstrap.dlopen("libswlo.so");
|
||||
|
||||
// Log.i(TAG, "Sleeping NOW");
|
||||
// Thread.sleep(20000);
|
||||
|
||||
|
Reference in New Issue
Block a user