summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/com/android/gallery3d/app/PhotoPage.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/gallery3d/app/PhotoPage.java b/src/com/android/gallery3d/app/PhotoPage.java
index 792ac0c64..dd5274517 100644
--- a/src/com/android/gallery3d/app/PhotoPage.java
+++ b/src/com/android/gallery3d/app/PhotoPage.java
@@ -467,7 +467,7 @@ public class PhotoPage extends ActivityState implements
int oldIndex = mCurrentIndex;
mCurrentIndex = index;
- if (mAppBridge != null) {
+ if (mInCameraRoll) {
if (mCurrentIndex > 0) {
mSkipUpdateCurrentPhoto = false;
}