OSDN Git Service

Reskin: do not show edit (FX) button in filmstrip mode
authorBobby Georgescu <georgescu@google.com>
Mon, 17 Sep 2012 21:02:59 +0000 (14:02 -0700)
committerBobby Georgescu <georgescu@google.com>
Mon, 17 Sep 2012 21:03:40 +0000 (14:03 -0700)
Bug: 7050303
Change-Id: Ibab686bc8581e8cc24a722950ff3b8b77023edd4

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

index 62a80ba..cb6bd70 100644 (file)
@@ -444,7 +444,7 @@ public class PhotoPage extends ActivityState implements
 
     private void refreshEditButton() {
         if (mEditButton == null) return;
-        if (mShowBars && mCurrentPhoto != null
+        if (mShowBars && mCurrentPhoto != null && !mPhotoView.getFilmMode()
                 && mCurrentPhoto.getMediaType() == MediaObject.MEDIA_TYPE_IMAGE) {
             mEditButton.setVisibility(View.VISIBLE);
         } else {