diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-01-13 17:12:13 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-01-16 13:18:28 +0100 |
commit | 96240771442a104f3d201947fe34d7bec08de9c1 (patch) | |
tree | 0ed3f42d4c9a0c724f8a6ac62fdc8ca01d3736db /android/experimental | |
parent | fe3ab8481eaf50272f1aa3892ff5f74ffd47d461 (diff) |
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
Diffstat (limited to 'android/experimental')
-rw-r--r-- | android/experimental/LOAndroid3/src/java/org/libreoffice/LOKitTileProvider.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/android/experimental/LOAndroid3/src/java/org/libreoffice/LOKitTileProvider.java b/android/experimental/LOAndroid3/src/java/org/libreoffice/LOKitTileProvider.java index 8f4e56ec808c..0e2db4b91282 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); |