summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/ui/PhotoView.java
diff options
context:
space:
mode:
authorBobby Georgescu <georgescu@google.com>2012-10-10 23:29:18 -0700
committerBobby Georgescu <georgescu@google.com>2012-10-10 23:29:18 -0700
commit3ed6ae23e43be73c83b6be3dcaafe7400a7b3355 (patch)
treeda75544b9dd2a5f7823505c7a45258aef47ba3dc /src/com/android/gallery3d/ui/PhotoView.java
parentc735669fdbd1aec674412f43e64b956e8c10b643 (diff)
downloadandroid_packages_apps_Gallery2-3ed6ae23e43be73c83b6be3dcaafe7400a7b3355.tar.gz
android_packages_apps_Gallery2-3ed6ae23e43be73c83b6be3dcaafe7400a7b3355.tar.bz2
android_packages_apps_Gallery2-3ed6ae23e43be73c83b6be3dcaafe7400a7b3355.zip
Fix size of peripheral items when first opening filmstrip
Bug: 7327570 Change-Id: I168a0297e9ac65786dbb05c02228665a67f80dff
Diffstat (limited to 'src/com/android/gallery3d/ui/PhotoView.java')
-rw-r--r--src/com/android/gallery3d/ui/PhotoView.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/android/gallery3d/ui/PhotoView.java b/src/com/android/gallery3d/ui/PhotoView.java
index 214d0e017..5978159e4 100644
--- a/src/com/android/gallery3d/ui/PhotoView.java
+++ b/src/com/android/gallery3d/ui/PhotoView.java
@@ -1318,6 +1318,7 @@ public class PhotoView extends GLView {
public void resume() {
mTileView.prepareTextures();
+ mPositionController.skipToFinalPosition();
}
// move to the camera preview and show controls after resume