From 62f030133d5dd1a89b2320b9f123165958d899bb Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Wed, 16 May 2012 18:30:40 +0300 Subject: [PATCH] Move the sleep (for attaching debugger) earlier Change-Id: I3183ed3da25bd0fbd2121f235f209edb51a21d2e --- .../org/libreoffice/android/examples/DocumentLoader.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/android/experimental/DocumentLoader/src/org/libreoffice/android/examples/DocumentLoader.java b/android/experimental/DocumentLoader/src/org/libreoffice/android/examples/DocumentLoader.java index 409a95c7a0a1..63ee56931245 100644 --- a/android/experimental/DocumentLoader/src/org/libreoffice/android/examples/DocumentLoader.java +++ b/android/experimental/DocumentLoader/src/org/libreoffice/android/examples/DocumentLoader.java @@ -59,15 +59,15 @@ public class DocumentLoader Bootstrap.dlopen("libswdlo.so"); Bootstrap.dlopen("libswlo.so"); + Log.i(TAG, "Sleeping NOW"); + Thread.sleep(20000); + com.sun.star.uno.XComponentContext xContext = null; xContext = com.sun.star.comp.helper.Bootstrap.defaultBootstrap_InitialComponentContext(); Log.i(TAG, "xContext is" + (xContext!=null ? " not" : "") + " null"); - Log.i(TAG, "Sleeping NOW"); - Thread.sleep(20000); - com.sun.star.lang.XMultiComponentFactory xMCF = xContext.getServiceManager();