summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkaiyiz <kaiyiz@codeaurora.org>2014-03-20 17:11:17 +0800
committeremancebo <emancebo@cyngn.com>2014-09-04 10:40:19 -0700
commitaaf13775fda19dd6005a3e98a9fc80b17bfcc93b (patch)
treef87c2926ef33996d9cee5d7455bcc9edde2aeba6
parent7609565693eeed5cfbdab64eda8d3e451958b37c (diff)
downloadandroid_packages_apps_Gallery2-aaf13775fda19dd6005a3e98a9fc80b17bfcc93b.tar.gz
android_packages_apps_Gallery2-aaf13775fda19dd6005a3e98a9fc80b17bfcc93b.tar.bz2
android_packages_apps_Gallery2-aaf13775fda19dd6005a3e98a9fc80b17bfcc93b.zip
Gallery2: Make picture in selected status when back from homepage
When selected picture and go to homepage,the Gallery will leave selection mode, so when back to the gallery ,the picture become unselected status. Do not leave selection mode when exit the gallery page. CRs-Fixed: 630782 Change-Id: I8090c65ba39be28f9914735ee96b781068cfa3cf
-rw-r--r--src/com/android/gallery3d/app/AlbumSetPage.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/com/android/gallery3d/app/AlbumSetPage.java b/src/com/android/gallery3d/app/AlbumSetPage.java
index 3c8fd8233..ec4462f1d 100644
--- a/src/com/android/gallery3d/app/AlbumSetPage.java
+++ b/src/com/android/gallery3d/app/AlbumSetPage.java
@@ -435,9 +435,6 @@ public class AlbumSetPage extends ActivityState implements
public void onPause() {
super.onPause();
mIsActive = false;
- if (mSelectionManager.inSelectionMode()) {
- mSelectionManager.leaveSelectionMode();
- }
mAlbumSetDataAdapter.pause();
mAlbumSetView.pause();
mActionModeHandler.pause();