diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2015-03-17 17:42:41 +0900 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-03-23 09:19:01 +0100 |
commit | 93fbb7369d4239d39df53e6ace9b79062a6b2af5 (patch) | |
tree | e6f5b8ea6beae7c41ff6577c534b553ca36250aa /android | |
parent | 772e5c9f1cdf367334add78633b166be3c53e72e (diff) |
android: TileProvider is unused in InvalidationHandler
Change-Id: I455e58f4395cb463efa888fe69ee7ea48b4681fb
Diffstat (limited to 'android')
-rw-r--r-- | android/experimental/LOAndroid3/src/java/org/libreoffice/InvalidationHandler.java | 10 | ||||
-rw-r--r-- | android/experimental/LOAndroid3/src/java/org/libreoffice/LOKitThread.java | 1 |
2 files changed, 0 insertions, 11 deletions
diff --git a/android/experimental/LOAndroid3/src/java/org/libreoffice/InvalidationHandler.java b/android/experimental/LOAndroid3/src/java/org/libreoffice/InvalidationHandler.java index 6bbe1108f413..e9110f61b049 100644 --- a/android/experimental/LOAndroid3/src/java/org/libreoffice/InvalidationHandler.java +++ b/android/experimental/LOAndroid3/src/java/org/libreoffice/InvalidationHandler.java @@ -19,25 +19,15 @@ public class InvalidationHandler implements Document.MessageCallback { private static String LOGTAG = InvalidationHandler.class.getSimpleName(); private final TextCursorLayer mTextCursorLayer; private final TextSelection mTextSelection; - private TileProvider mTileProvider; private OverlayState mState; public InvalidationHandler(LibreOfficeMainActivity mainActivity) { mTextCursorLayer = mainActivity.getTextCursorLayer(); mTextSelection = mainActivity.getTextSelection(); - mTileProvider = null; mState = OverlayState.NONE; } /** - * Sets the tile provider, without this the - * @param tileProvider - */ - public void setTileProvider(TileProvider tileProvider) { - mTileProvider = tileProvider; - } - - /** * Processes callback message * * @param messageID - ID of the message diff --git a/android/experimental/LOAndroid3/src/java/org/libreoffice/LOKitThread.java b/android/experimental/LOAndroid3/src/java/org/libreoffice/LOKitThread.java index 7cc4b6e1ef6f..3bed16334e71 100644 --- a/android/experimental/LOAndroid3/src/java/org/libreoffice/LOKitThread.java +++ b/android/experimental/LOAndroid3/src/java/org/libreoffice/LOKitThread.java @@ -178,7 +178,6 @@ public class LOKitThread extends Thread { mInvalidationHandler = new InvalidationHandler(LibreOfficeMainActivity.mAppContext); mTileProvider = TileProviderFactory.create(mLayerClient, mInvalidationHandler, filename); - mInvalidationHandler.setTileProvider(mTileProvider); if (mTileProvider.isReady()) { LOKitShell.showProgressSpinner(); |