diff options
-rwxr-xr-x | src/com/android/gallery3d/app/AlbumPage.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/gallery3d/app/AlbumPage.java b/src/com/android/gallery3d/app/AlbumPage.java index 01bf29e51..1d38d9727 100755 --- a/src/com/android/gallery3d/app/AlbumPage.java +++ b/src/com/android/gallery3d/app/AlbumPage.java @@ -565,7 +565,7 @@ public class AlbumPage extends ActivityState implements GalleryActionBar.Cluster } actionBar.setSubtitle(null); // remove slideshow if all are videos - if (allVideoFiles() && !mGetContent){ + if (!mGetContent && allVideoFiles()) { menu.findItem(R.id.action_slideshow).setVisible(false); } return true; @@ -677,7 +677,7 @@ public class AlbumPage extends ActivityState implements GalleryActionBar.Cluster } private void updateMenuItem() { - if (allVideoFiles() && !mGetContent) { + if (!mGetContent && allVideoFiles()) { mActionMenu.findItem(R.id.action_slideshow).setVisible(false); } } |