OSDN Git Service

Fix 6360834 Select All is shown in place of Deselect all option
authorRay Chen <raychen@google.com>
Thu, 3 May 2012 05:10:51 +0000 (13:10 +0800)
committerRay Chen <raychen@google.com>
Tue, 22 May 2012 03:06:48 +0000 (11:06 +0800)
commit7f9061790e1b67b6c674314ac41a399c550f8b88
tree45b654cdcd4a2e3764d6ff5fdf5bbff3d227b443
parent6ca39c75e668eab51645f33117cae5156f64975d
Fix 6360834 Select All is shown in place of Deselect all option

The CL changes the SelectionManager's toggle method so it changes itself to
inverse selection mode when all items are already selected, and onSelectionModeChange
will be triggered so the listener can update the selection menu (Select all/Deselect all)
and ActionBar.

Change-Id: I9aa5507067415e52f6800c254ecb4d68e7395ffa
b: 6360834
src/com/android/gallery3d/app/AlbumSetPage.java
src/com/android/gallery3d/app/PhotoPage.java
src/com/android/gallery3d/ui/ActionModeHandler.java
src/com/android/gallery3d/ui/SelectionManager.java