Loading src/com/android/gallery3d/app/AlbumPage.java +10 −17 Original line number Diff line number Diff line Loading @@ -174,12 +174,6 @@ public class AlbumPage extends ActivityState implements GalleryActionBar.Cluster } else if (!mSelectionManager.inSelectionMode()) { if (mGetContent) { onGetContent(item); } else { boolean playVideo = (item.getSupportedOperations() & MediaItem.SUPPORT_PLAY) != 0; if (playVideo) { // Play the video. PhotoPage.playVideo((Activity) mActivity, item.getPlayUri(), item.getName()); } else { // Get into the PhotoPage. Bundle data = new Bundle(); Loading @@ -192,7 +186,6 @@ public class AlbumPage extends ActivityState implements GalleryActionBar.Cluster mActivity.getStateManager().startStateForResult( PhotoPage.class, REQUEST_PHOTO, data); } } } else { mSelectionManager.toggle(item.getPath()); mDetailsSource.findIndex(slotIndex); Loading Loading
src/com/android/gallery3d/app/AlbumPage.java +10 −17 Original line number Diff line number Diff line Loading @@ -174,12 +174,6 @@ public class AlbumPage extends ActivityState implements GalleryActionBar.Cluster } else if (!mSelectionManager.inSelectionMode()) { if (mGetContent) { onGetContent(item); } else { boolean playVideo = (item.getSupportedOperations() & MediaItem.SUPPORT_PLAY) != 0; if (playVideo) { // Play the video. PhotoPage.playVideo((Activity) mActivity, item.getPlayUri(), item.getName()); } else { // Get into the PhotoPage. Bundle data = new Bundle(); Loading @@ -192,7 +186,6 @@ public class AlbumPage extends ActivityState implements GalleryActionBar.Cluster mActivity.getStateManager().startStateForResult( PhotoPage.class, REQUEST_PHOTO, data); } } } else { mSelectionManager.toggle(item.getPath()); mDetailsSource.findIndex(slotIndex); Loading