Bug:
7180582
Bug:
7146147
Change-Id: I3d2ad8866a938f9f162e14f11bc2e021834ba513
return true;
}
case R.id.action_filmstrip: {
+ if (mAlbumDataAdapter.size() < 1) return true;
int targetPhoto = mSlotView.getVisibleStart();
prepareAnimationBackToFilmstrip(targetPhoto);
if(mLaunchedFromPhotoPage) {
Log.w(TAG, "failed to restore " + mSetPathString);
}
if (itemPath == null) {
- mMediaSet.reload();
if (mMediaSet.getMediaItemCount() > 0) {
itemPath = mMediaSet.getMediaItem(mCurrentIndex, 1)
.get(0).getPath();
super(path, INVALID_DATA_VERSION);
mBaseSet = baseSet;
mBaseSet.addContentListener(this);
+ mMediaItemCount = mBaseSet.getMediaItemCount() - mCurrent.size();
}
@Override