Kaydet (Commit) ee815252 authored tarafından Thorsten Behrens's avatar Thorsten Behrens

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
üst 07af8451
...@@ -263,7 +263,7 @@ public class PresentationFragment extends SherlockFragment { ...@@ -263,7 +263,7 @@ public class PresentationFragment extends SherlockFragment {
if (aSlide == mTopView.getSelectedItemPosition()) if (aSlide == mTopView.getSelectedItemPosition())
return; return;
if ((System.currentTimeMillis() - lastUpdateTime) < 5000) { if ((System.currentTimeMillis() - lastUpdateTime) < 500) {
return; return;
} }
mTopView.setSelection(aSlide, true); mTopView.setSelection(aSlide, true);
...@@ -319,4 +319,4 @@ public class PresentationFragment extends SherlockFragment { ...@@ -319,4 +319,4 @@ public class PresentationFragment extends SherlockFragment {
} }
} }
} }
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment