diff --git a/src/com/android/gallery3d/app/PhotoPage.java b/src/com/android/gallery3d/app/PhotoPage.java index faebdd0ee..1d42ffdab 100755 --- a/src/com/android/gallery3d/app/PhotoPage.java +++ b/src/com/android/gallery3d/app/PhotoPage.java @@ -560,7 +560,11 @@ public void onPhotoChanged(int index, Path item) { public void onLoadingFinished(boolean loadingFailed) { if (!mModel.isEmpty()) { MediaItem photo = mModel.getMediaItem(0); - if (photo != null) updateCurrentPhoto(photo); + if (photo != null) { + updateCurrentPhoto(photo); + } else { + mModel.resume(); + } } else if (mIsActive) { // We only want to finish the PhotoPage if there is no // deletion that the user can undo.