OSDN Git Service

Behavior of camera filmstrip in gallery closer to camera
authorBobby Georgescu <georgescu@google.com>
Thu, 11 Oct 2012 06:48:52 +0000 (23:48 -0700)
committerAndroid (Google) Code Review <android-gerrit@google.com>
Thu, 11 Oct 2012 07:22:04 +0000 (00:22 -0700)
Bug: 7329118
Change-Id: I0a5753db301cc53050251455439555aa7ae414c4

src/com/android/gallery3d/app/PhotoPage.java

index 792ac0c..dd52745 100644 (file)
@@ -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;
                         }