diff options
Diffstat (limited to 'src/com/android/gallery3d/data/DataManager.java')
-rw-r--r-- | src/com/android/gallery3d/data/DataManager.java | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/com/android/gallery3d/data/DataManager.java b/src/com/android/gallery3d/data/DataManager.java index 4ec7b6d98..8fcf4008a 100644 --- a/src/com/android/gallery3d/data/DataManager.java +++ b/src/com/android/gallery3d/data/DataManager.java @@ -68,13 +68,9 @@ public class DataManager implements StitchingChangeListener { private static final String TAG = "DataManager"; // This is the path for the media set seen by the user at top level. - private static final String TOP_SET_PATH = ApiHelper.HAS_MTP - ? "/combo/{/mtp,/local/all,/picasa/all}" - : "/combo/{/local/all,/picasa/all}"; + private static final String TOP_SET_PATH = "/combo/{/local/all,/picasa/all}"; - private static final String TOP_IMAGE_SET_PATH = ApiHelper.HAS_MTP - ? "/combo/{/mtp,/local/image,/picasa/image}" - : "/combo/{/local/image,/picasa/image}"; + private static final String TOP_IMAGE_SET_PATH = "/combo/{/local/image,/picasa/image}"; private static final String TOP_VIDEO_SET_PATH = "/combo/{/local/video,/picasa/video}"; @@ -118,9 +114,6 @@ public class DataManager implements StitchingChangeListener { // the order matters, the UriSource must come last addSource(new LocalSource(mApplication)); addSource(new PicasaSource(mApplication)); - if (ApiHelper.HAS_MTP) { - addSource(new MtpSource(mApplication)); - } addSource(new ComboSource(mApplication)); addSource(new ClusterSource(mApplication)); addSource(new FilterSource(mApplication)); |