OSDN Git Service

Fix size of peripheral items when first opening filmstrip
authorBobby Georgescu <georgescu@google.com>
Thu, 11 Oct 2012 06:29:18 +0000 (23:29 -0700)
committerBobby Georgescu <georgescu@google.com>
Thu, 11 Oct 2012 06:29:18 +0000 (23:29 -0700)
Bug: 7327570
Change-Id: I168a0297e9ac65786dbb05c02228665a67f80dff

src/com/android/gallery3d/ui/PhotoView.java

index 214d0e0..5978159 100644 (file)
@@ -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