diff options
author | Bobby Georgescu <georgescu@google.com> | 2012-12-26 00:52:28 -0800 |
---|---|---|
committer | Bobby Georgescu <georgescu@google.com> | 2013-01-07 14:43:56 -0800 |
commit | d3aac52ffb88ced53413d5eef29c641dd6982267 (patch) | |
tree | b5e614ec3f5cc1f29ee6b501c7cfa8ac0bfb0fce /src/com/android/gallery3d/app/AlbumPage.java | |
parent | 3114fa3a8a99be3c819d102dd1d069face13c43f (diff) | |
download | android_packages_apps_Gallery2-d3aac52ffb88ced53413d5eef29c641dd6982267.tar.gz android_packages_apps_Gallery2-d3aac52ffb88ced53413d5eef29c641dd6982267.tar.bz2 android_packages_apps_Gallery2-d3aac52ffb88ced53413d5eef29c641dd6982267.zip |
Replace camera importer
Change-Id: Icfeb23301bc6c9f8c8b12824bcbb0d8b41852d07
Diffstat (limited to 'src/com/android/gallery3d/app/AlbumPage.java')
-rw-r--r-- | src/com/android/gallery3d/app/AlbumPage.java | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/com/android/gallery3d/app/AlbumPage.java b/src/com/android/gallery3d/app/AlbumPage.java index dc2adf78f..51591cc51 100644 --- a/src/com/android/gallery3d/app/AlbumPage.java +++ b/src/com/android/gallery3d/app/AlbumPage.java @@ -38,7 +38,6 @@ import com.android.gallery3d.data.MediaDetails; import com.android.gallery3d.data.MediaItem; import com.android.gallery3d.data.MediaObject; import com.android.gallery3d.data.MediaSet; -import com.android.gallery3d.data.MtpDevice; import com.android.gallery3d.data.Path; import com.android.gallery3d.filtershow.CropExtras; import com.android.gallery3d.filtershow.FilterShowActivity; @@ -318,7 +317,6 @@ public class AlbumPage extends ActivityState implements GalleryActionBar.Cluster DataManager dm = mActivity.getDataManager(); Activity activity = mActivity; if (mData.getString(Gallery.EXTRA_CROP) != null) { - // TODO: Handle MtpImagew Uri uri = dm.getContentUri(item.getPath()); Intent intent = new Intent(FilterShowActivity.CROP_ACTION, uri) .addFlags(Intent.FLAG_ACTIVITY_FORWARD_RESULT) @@ -374,7 +372,6 @@ public class AlbumPage extends ActivityState implements GalleryActionBar.Cluster mDetailsSource = new MyDetailsSource(); Context context = mActivity.getAndroidContext(); - // Enable auto-select-all for mtp album if (data.getBoolean(KEY_AUTO_SELECT_ALL)) { mSelectionManager.selectAll(); } @@ -554,9 +551,6 @@ public class AlbumPage extends ActivityState implements GalleryActionBar.Cluster inflator.inflate(R.menu.album, menu); actionBar.setTitle(mMediaSet.getName()); - menu.findItem(R.id.action_slideshow) - .setVisible(!(mMediaSet instanceof MtpDevice)); - FilterUtils.setupMenuItems(actionBar, mMediaSetPath, true); menu.findItem(R.id.action_group_by).setVisible(mShowClusterMenu); |