History log of /packages/apps/Gallery2/src/com/android/gallery3d/data/ComboAlbumSet.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
705dc819661cb8c8e839a04577b0641bd6caad53 21-Mar-2013 John Reck <jreck@google.com> Revert "New loading model"

Change-Id: I5d3d4c7a4ca0d11de01278529e1413fc62e6b4ed
/packages/apps/Gallery2/src/com/android/gallery3d/data/ComboAlbumSet.java
f4f43e7dbc85ab8b7437e8f1d6ab0317470e70b6 16-Jan-2013 John Reck <jreck@google.com> New loading model

Rename reload() to loadIfDirty()
loadIfDirty is implemented by MediaSet and is final
loadIfDirty is now blocking instead of async
Subclasses must implement two protected methods, isDirtyLocked() and load()

The change from async reload() to sync loadIfDirty() should be fine since
all users of reload() were doing so from a background thread already, and the
longest load() is PicasaAlbumSet which is still a fairly brisk 40ms or so

Change-Id: If5cc596a1c13e52e5f4efff1a144bd086d37cfb7
/packages/apps/Gallery2/src/com/android/gallery3d/data/ComboAlbumSet.java
b0b369e84733d047419ca38c215e73ba7ea402f1 16-Jan-2013 John Reck <jreck@google.com> Add a blocking load to MediaSet

Change-Id: I367975fd33f884fb7e576b7064c495bdb7a3ce7b
/packages/apps/Gallery2/src/com/android/gallery3d/data/ComboAlbumSet.java
7817979db0c52ffeacb951625b1e821eba303285 30-Jul-2012 Ahbong Chang <cwahbong@google.com> Code clean up.

Remove unused imports.
Remove unused fields.
Remove unnecessary cast.
Add missing override annotations.

Change-Id: Idad2e587697a5015eb5363d7b71fab9de9cc8ffb
/packages/apps/Gallery2/src/com/android/gallery3d/data/ComboAlbumSet.java
e8c1e69f85efb8673d0606f3aca729a366038753 16-May-2012 Ray Chen <raychen@google.com> Fix 6259517 "0 images / videos available" toast is displayed in gallery on launch though it has images / videos

And removed sync error toast.

Bug: 6259517

Change-Id: Ib7b25176a6db290220661a2e98e4e031043201d9
/packages/apps/Gallery2/src/com/android/gallery3d/data/ComboAlbumSet.java
fe49be45412f8d0f68343662318e73822da486c8 24-Nov-2011 Owen Lin <owenlin@google.com> Show a dialog to require updating PlusOne.

Change-Id: I1ff4f5eca90ade49b0785324b9319ef0b7d751ca
fix: 5608342
/packages/apps/Gallery2/src/com/android/gallery3d/data/ComboAlbumSet.java
57cbaa1ef40d2215c6400f5ae4af3a09e67abb2d 30-Sep-2011 Hung-ying Tyan <tyanh@google.com> Request sync when there's no mediaItem in a mediaSet.

This is to fix the problem where media items haven't been sync'ed when the album
set or album is viewed for the first time.

+ Add MediaSet.SyncListener.
+ Make AlbumPage and AlbumSetPage implement SyncListener.
+ Implement requestSync() for ComboAlbum and ComboAlbumSet.
+ add ActivityState.isDestroyed(). This also fixes the problem where
StateManager.finishState() may be called twice.

Bug: 5337899
Change-Id: I25364c3ac25721a2650701c5d7931bfb6daa9303
/packages/apps/Gallery2/src/com/android/gallery3d/data/ComboAlbumSet.java
f9a0a4306d589b4a4e20554fed512a603426bfa1 17-Aug-2011 Owen Lin <owenlin@google.com> Initial code for Gallery2.

fix: 5176434

Change-Id: I041e282b9c7b34ceb1db8b033be2b853bb3a992c
/packages/apps/Gallery2/src/com/android/gallery3d/data/ComboAlbumSet.java