diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/com/android/gallery3d/app/PhotoPage.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/com/android/gallery3d/app/PhotoPage.java b/src/com/android/gallery3d/app/PhotoPage.java index 9f3b85f10..2067a9972 100644 --- a/src/com/android/gallery3d/app/PhotoPage.java +++ b/src/com/android/gallery3d/app/PhotoPage.java @@ -564,7 +564,11 @@ public abstract class PhotoPage extends ActivityState implements 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. |
