diff options
Diffstat (limited to 'src/com/android/gallery3d/app/AlbumPage.java')
-rw-r--r-- | src/com/android/gallery3d/app/AlbumPage.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/com/android/gallery3d/app/AlbumPage.java b/src/com/android/gallery3d/app/AlbumPage.java index 10c2b676a..6fb414377 100644 --- a/src/com/android/gallery3d/app/AlbumPage.java +++ b/src/com/android/gallery3d/app/AlbumPage.java @@ -325,12 +325,16 @@ public class AlbumPage extends ActivityState implements GalleryActionBar.Cluster super.onResume(); mIsActive = true; setContentPane(mRootPane); + + // Set the reload bit here to prevent it exit this page in clearLoadingBit(). + setLoadingBit(BIT_LOADING_RELOAD); mAlbumDataAdapter.resume(); + mAlbumView.resume(); mActionModeHandler.resume(); if (!mInitialSynced) { - mSyncTask = mMediaSet.requestSync(this); setLoadingBit(BIT_LOADING_SYNC); + mSyncTask = mMediaSet.requestSync(this); } } |