summaryrefslogtreecommitdiff
path: root/android
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2014-06-30 07:56:12 +0200
committerJan Holesovsky <kendy@collabora.com>2014-06-30 14:48:04 +0200
commitcd77f78755a9aeee0237eaefe06483182e447908 (patch)
tree116ee1259b217a89403eea3544229a7c4518fcdb /android
parentd2eeb05da67bd8e205821b92fd028f7c7114e99a (diff)
android: Enable debugging messages as the first thing we do.
Additionally log what we are trying to open - very useful for debugging bootstrap problems ;-) Change-Id: I942b144d97a57cbcb709b2d67029bfa09b339be2
Diffstat (limited to 'android')
-rw-r--r--android/experimental/LOAndroid3/src/java/org/libreoffice/LibreOfficeMainActivity.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/android/experimental/LOAndroid3/src/java/org/libreoffice/LibreOfficeMainActivity.java b/android/experimental/LOAndroid3/src/java/org/libreoffice/LibreOfficeMainActivity.java
index 3d30dcc8e80e..a4ae79c5882b 100644
--- a/android/experimental/LOAndroid3/src/java/org/libreoffice/LibreOfficeMainActivity.java
+++ b/android/experimental/LOAndroid3/src/java/org/libreoffice/LibreOfficeMainActivity.java
@@ -74,9 +74,11 @@ public class LibreOfficeMainActivity extends Activity {
super.onCreate(savedInstanceState);
try {
- LibreOfficeKit.init(this);
+ // enable debugging messages as the first thing
LibreOfficeKit.putenv("SAL_LOG=+WARN+INFO-INFO.legacy.osl");
+ LibreOfficeKit.init(this);
+
setContentView(R.layout.activity_main);
Log.w(LOGTAG, "zerdatime " + SystemClock.uptimeMillis() + " - onCreate");