安卓Camera拍照后相册照片生成慢

diff --git a/src/com/android/gallery3d/app/GalleryActivity.java b/src/com/android/gallery3d/app/GalleryActivity.java
index bb2a6b8f1..38e0f6a2f 100644
--- a/src/com/android/gallery3d/app/GalleryActivity.java
+++ b/src/com/android/gallery3d/app/GalleryActivity.java
@@ -212,7 +212,7 @@ public final class GalleryActivity extends AbstractGalleryActivity implements On
                 //       activities can reference it.
                 boolean singleItemOnly = (albumPath == null)
                         || intent.getBooleanExtra("SingleItemOnly", false);
-                if (!singleItemOnly) {
+                /*if (!singleItemOnly) {
                     data.putString(PhotoPage.KEY_MEDIA_SET_PATH, albumPath.toString());
                     // when FLAG_ACTIVITY_NEW_TASK is set, (e.g. when intent is fired
                     // from notification), back button should behave the same as up button
@@ -221,7 +221,7 @@ public final class GalleryActivity extends AbstractGalleryActivity implements On
                             || ((intent.getFlags() & Intent.FLAG_ACTIVITY_NEW_TASK) != 0)) {
                         data.putBoolean(PhotoPage.KEY_TREAT_BACK_AS_UP, true);
                     }
-                }
+                }*/

                 getStateManager().startState(SinglePhotoPage.class, data);
             }

你可能感兴趣的:(android)