summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/com/android/gallery3d/app/PhotoDataAdapter.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/gallery3d/app/PhotoDataAdapter.java b/src/com/android/gallery3d/app/PhotoDataAdapter.java
index 0b7f34e70..36bde4dbd 100755
--- a/src/com/android/gallery3d/app/PhotoDataAdapter.java
+++ b/src/com/android/gallery3d/app/PhotoDataAdapter.java
@@ -1309,10 +1309,10 @@ public class PhotoDataAdapter implements PhotoPage.Model {
}
mDirty = false;
- version = mSource.reload();
if (mIsFromTimelineScreen) {
mSource.setClusterKind(GalleryActivity.CLUSTER_ALBUMSET_NO_TITLE);
}
+ version = mSource.reload();
//if data is not ready, continue to reload
if (version == MediaObject.INVALID_DATA_VERSION) {
continue;