From aaf13775fda19dd6005a3e98a9fc80b17bfcc93b Mon Sep 17 00:00:00 2001 From: kaiyiz Date: Thu, 20 Mar 2014 17:11:17 +0800 Subject: 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 --- src/com/android/gallery3d/app/AlbumSetPage.java | 3 --- 1 file changed, 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(); -- cgit v1.2.3