diff options
author | Hung-ying Tyan <tyanh@google.com> | 2011-09-30 14:42:50 +0800 |
---|---|---|
committer | Hung-ying Tyan <tyanh@google.com> | 2011-10-07 18:57:06 +0800 |
commit | 57cbaa1ef40d2215c6400f5ae4af3a09e67abb2d (patch) | |
tree | 3ea6a3f73ce7ff4aa309cc79a109fd6860f08300 /res/values/strings.xml | |
parent | eaa750f62a064e142605c3531539699469948983 (diff) | |
download | android_packages_apps_Gallery2-57cbaa1ef40d2215c6400f5ae4af3a09e67abb2d.tar.gz android_packages_apps_Gallery2-57cbaa1ef40d2215c6400f5ae4af3a09e67abb2d.tar.bz2 android_packages_apps_Gallery2-57cbaa1ef40d2215c6400f5ae4af3a09e67abb2d.zip |
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
Diffstat (limited to 'res/values/strings.xml')
-rw-r--r-- | res/values/strings.xml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml index 26d80e7a2..74ba1f31b 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -199,6 +199,11 @@ <!-- This toast message is shown when network connection is lost while doing clustering --> <string name="no_connectivity">Some locations couldn\'t be identified due to network problems.</string> + <!-- This toast message is shown when failed to load the album data. [CHAR LIMIT=NONE] --> + <string name="sync_album_error">Failed to download the photos in this album. Please retry later.</string> + <!-- This toast message is shown when failed to load the album list data. [CHAR LIMIT=NONE] --> + <string name="sync_album_set_error">Failed to download the list of albums. Please retry later.</string> + <!-- The title of the menu item to let user choose the which portion of the media items the user wants to see. When pressed, a submenu will appear and user can choose one of "show images only", |