summaryrefslogtreecommitdiff
path: root/android
diff options
context:
space:
mode:
authorThorsten Behrens <tbehrens@suse.com>2012-11-22 16:38:14 +0100
committerThorsten Behrens <tbehrens@suse.com>2012-11-22 16:48:58 +0100
commitee81525263b9690a79cd32e7fb769ec0d33117cd (patch)
tree5e27c554375a00e24e17b9e38039fac2b3d4b5ea /android
parent07af8451feabd828d09c0f444368fa50c5651527 (diff)
Fix seemingly hanging thumbnail preview.
5 secs timeout between slide changes is probably a bit much, reducing to half a second now. Had the coverflow frequently stuck at earlier slides otherwise. Change-Id: Idabe17e1fc8fe2050990a68c357a00dd2d20c08b
Diffstat (limited to 'android')
-rw-r--r--android/sdremote/src/org/libreoffice/impressremote/PresentationFragment.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/android/sdremote/src/org/libreoffice/impressremote/PresentationFragment.java b/android/sdremote/src/org/libreoffice/impressremote/PresentationFragment.java
index 779e395e639a..029f1d315d2f 100644
--- a/android/sdremote/src/org/libreoffice/impressremote/PresentationFragment.java
+++ b/android/sdremote/src/org/libreoffice/impressremote/PresentationFragment.java
@@ -263,7 +263,7 @@ public class PresentationFragment extends SherlockFragment {
if (aSlide == mTopView.getSelectedItemPosition())
return;
- if ((System.currentTimeMillis() - lastUpdateTime) < 5000) {
+ if ((System.currentTimeMillis() - lastUpdateTime) < 500) {
return;
}
mTopView.setSelection(aSlide, true);
@@ -319,4 +319,4 @@ public class PresentationFragment extends SherlockFragment {
}
}
}
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ \ No newline at end of file
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */