summaryrefslogtreecommitdiffstats
path: root/src/com
diff options
context:
space:
mode:
authorOwen Lin <owenlin@google.com>2012-05-02 03:32:19 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2012-05-02 03:32:19 -0700
commit3e0f230725d1dd8e1f451fb3a1c81e0ad3a07dc0 (patch)
treedbc26b6747eedaa395b6efdbf6dec1f26880a25a /src/com
parentd4751f066c97c10e1c2f42462f94f19f57944fdf (diff)
parent32a000c60f5fb18f46f8683df79f89f02574257b (diff)
downloadandroid_packages_apps_Gallery2-3e0f230725d1dd8e1f451fb3a1c81e0ad3a07dc0.tar.gz
android_packages_apps_Gallery2-3e0f230725d1dd8e1f451fb3a1c81e0ad3a07dc0.tar.bz2
android_packages_apps_Gallery2-3e0f230725d1dd8e1f451fb3a1c81e0ad3a07dc0.zip
am 32a000c6: am edd4807d: Merge "Change thumbnail\'s position only when it is invisible." into jb-dev
* commit '32a000c60f5fb18f46f8683df79f89f02574257b': Change thumbnail's position only when it is invisible.
Diffstat (limited to 'src/com')
-rw-r--r--src/com/android/gallery3d/app/AlbumPage.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/gallery3d/app/AlbumPage.java b/src/com/android/gallery3d/app/AlbumPage.java
index 0e3e31f7e..70831b48d 100644
--- a/src/com/android/gallery3d/app/AlbumPage.java
+++ b/src/com/android/gallery3d/app/AlbumPage.java
@@ -537,7 +537,7 @@ public class AlbumPage extends ActivityState implements GalleryActionBar.Cluster
case REQUEST_PHOTO: {
if (data == null) return;
mFocusIndex = data.getIntExtra(PhotoPage.KEY_RETURN_INDEX_HINT, 0);
- mSlotView.setCenterIndex(mFocusIndex);
+ mSlotView.makeSlotVisible(mFocusIndex);
mSlotView.startRestoringAnimation(mFocusIndex);
break;
}