Bug:
7145102
Change-Id: I75c66f2f37fc11f3846fdbd40083787ba38af207
}
private static boolean albumShouldOpenInFilmstrip(MediaSet album) {
- return album.isCameraRoll() && album.getMediaItemCount() > 0;
+ int itemCount = album.getMediaItemCount();
+ return (album.isCameraRoll() && itemCount > 0) || itemCount == 1;
}
WeakReference<Toast> mEmptyAlbumToast = null;
updateCurrentPhoto(mediaItem);
}
- mPhotoView.setFilmMode(mStartInFilmstrip);
+ mPhotoView.setFilmMode(mStartInFilmstrip && mMediaSet.getMediaItemCount() > 1);
setupEditButton();
}