summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/app/AlbumPage.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/gallery3d/app/AlbumPage.java')
-rw-r--r--src/com/android/gallery3d/app/AlbumPage.java8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/com/android/gallery3d/app/AlbumPage.java b/src/com/android/gallery3d/app/AlbumPage.java
index c8f296afc..4c945a45b 100644
--- a/src/com/android/gallery3d/app/AlbumPage.java
+++ b/src/com/android/gallery3d/app/AlbumPage.java
@@ -454,14 +454,6 @@ public class AlbumPage extends ActivityState implements GalleryActionBar.Cluster
clearLoadingBit(BIT_LOADING_SYNC);
}
mActionModeHandler.pause();
-
- // The camera app should always launch in capture mode when
- // resumed, so make the next resume faster by closing the grid
- // view now
- if (mInCameraAndWantQuitOnPause) {
- if (mActivity.getStateManager().getTopState() == this)
- mActivity.getStateManager().finishState(this, false);
- }
}
@Override