[Libreoffice-commits] core.git: Branch 'feature/tiled-editing' - android/experimental
Miklos Vajna
vmiklos at collabora.co.uk
Tue Jan 13 08:19:18 PST 2015
android/experimental/LOAndroid3/src/java/org/libreoffice/LOKitTileProvider.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 20631c2743b7aa54fe0f00d17ee37f7422e3e7ee
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date: Tue Jan 13 17:12:13 2015 +0100
android: avoid setMessageCallback() for now
This has to be only called when the user taps, not before. Don't do it
at all till we figure out how to detect a tap.
Change-Id: I184442d3f06fcbf56f0789bb85693dd7273daf28
diff --git a/android/experimental/LOAndroid3/src/java/org/libreoffice/LOKitTileProvider.java b/android/experimental/LOAndroid3/src/java/org/libreoffice/LOKitTileProvider.java
index 8f4e56e..0e2db4b 100644
--- a/android/experimental/LOAndroid3/src/java/org/libreoffice/LOKitTileProvider.java
+++ b/android/experimental/LOAndroid3/src/java/org/libreoffice/LOKitTileProvider.java
@@ -69,7 +69,8 @@ public class LOKitTileProvider implements TileProvider, Document.MessageCallback
public void postLoad() {
mDocument.initializeForRendering();
- mDocument.setMessageCallback(this);
+ // FIXME see gtktiledviewer, this has to be registered when we enter edit mode, not right after loading.
+ // mDocument.setMessageCallback(this);
int parts = mDocument.getParts();
Log.i(LOGTAG, "Document parts: " + parts);
More information about the Libreoffice-commits
mailing list