diff options
author | Bobby Georgescu <georgescu@google.com> | 2012-09-17 14:48:52 -0700 |
---|---|---|
committer | Bobby Georgescu <georgescu@google.com> | 2012-09-17 14:48:52 -0700 |
commit | a9b52df63ae6edbe0f2158bfc3c701fde41782c1 (patch) | |
tree | 56697e0300f08635a23db754f61d216b4221481b /src/com/android/gallery3d/app/AlbumPage.java | |
parent | 6d634842ffe2ec5d9d0c7984140145da06f53ffc (diff) | |
download | android_packages_apps_Gallery2-a9b52df63ae6edbe0f2158bfc3c701fde41782c1.tar.gz android_packages_apps_Gallery2-a9b52df63ae6edbe0f2158bfc3c701fde41782c1.tar.bz2 android_packages_apps_Gallery2-a9b52df63ae6edbe0f2158bfc3c701fde41782c1.zip |
Fix bugs relating to grid/filmstrip switching
Bug: 7180582
Bug: 7146147
Change-Id: I3d2ad8866a938f9f162e14f11bc2e021834ba513
Diffstat (limited to 'src/com/android/gallery3d/app/AlbumPage.java')
-rw-r--r-- | src/com/android/gallery3d/app/AlbumPage.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/android/gallery3d/app/AlbumPage.java b/src/com/android/gallery3d/app/AlbumPage.java index 298e083c6..fade00c47 100644 --- a/src/com/android/gallery3d/app/AlbumPage.java +++ b/src/com/android/gallery3d/app/AlbumPage.java @@ -567,6 +567,7 @@ public class AlbumPage extends ActivityState implements GalleryActionBar.Cluster return true; } case R.id.action_filmstrip: { + if (mAlbumDataAdapter.size() < 1) return true; int targetPhoto = mSlotView.getVisibleStart(); prepareAnimationBackToFilmstrip(targetPhoto); if(mLaunchedFromPhotoPage) { |