summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/app/PhotoPage.java
diff options
context:
space:
mode:
authorBobby Georgescu <georgescu@google.com>2012-12-26 00:52:28 -0800
committerBobby Georgescu <georgescu@google.com>2013-01-07 14:43:56 -0800
commitd3aac52ffb88ced53413d5eef29c641dd6982267 (patch)
treeb5e614ec3f5cc1f29ee6b501c7cfa8ac0bfb0fce /src/com/android/gallery3d/app/PhotoPage.java
parent3114fa3a8a99be3c819d102dd1d069face13c43f (diff)
downloadandroid_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/PhotoPage.java')
-rw-r--r--src/com/android/gallery3d/app/PhotoPage.java11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/com/android/gallery3d/app/PhotoPage.java b/src/com/android/gallery3d/app/PhotoPage.java
index 852023441..8896cd188 100644
--- a/src/com/android/gallery3d/app/PhotoPage.java
+++ b/src/com/android/gallery3d/app/PhotoPage.java
@@ -51,7 +51,6 @@ import com.android.gallery3d.data.MediaItem;
import com.android.gallery3d.data.MediaObject;
import com.android.gallery3d.data.MediaObject.PanoramaSupportCallback;
import com.android.gallery3d.data.MediaSet;
-import com.android.gallery3d.data.MtpSource;
import com.android.gallery3d.data.Path;
import com.android.gallery3d.data.SecureAlbum;
import com.android.gallery3d.data.SecureSource;
@@ -64,7 +63,6 @@ import com.android.gallery3d.ui.DetailsHelper;
import com.android.gallery3d.ui.DetailsHelper.CloseListener;
import com.android.gallery3d.ui.DetailsHelper.DetailsSource;
import com.android.gallery3d.ui.GLView;
-import com.android.gallery3d.ui.ImportCompleteListener;
import com.android.gallery3d.ui.MenuExecutor;
import com.android.gallery3d.ui.PhotoView;
import com.android.gallery3d.ui.SelectionManager;
@@ -800,9 +798,6 @@ public abstract class PhotoPage extends ActivityState implements
if (mCurrentPhoto.getMediaType() != MediaObject.MEDIA_TYPE_IMAGE) {
return false;
}
- if (MtpSource.isMtpPath(mOriginalSetPathString)) {
- return false;
- }
return true;
}
@@ -1098,12 +1093,6 @@ public abstract class PhotoPage extends ActivityState implements
mSelectionManager.toggle(path);
mMenuExecutor.onMenuClicked(item, confirmMsg, mConfirmDialogListener);
return true;
- case R.id.action_import:
- mSelectionManager.deSelectAll();
- mSelectionManager.toggle(path);
- mMenuExecutor.onMenuClicked(item, confirmMsg,
- new ImportCompleteListener(mActivity));
- return true;
default :
return false;
}