diff options
| author | Chao Zhang <chaoz@codeaurora.org> | 2016-05-12 17:28:42 +0800 |
|---|---|---|
| committer | Likai Ding <likaid@codeaurora.org> | 2016-06-28 10:16:00 +0800 |
| commit | 83dae75ad4f5696756eac9c571219bfedfd5022a (patch) | |
| tree | f3f89427d85c5de7ca09e4d8766876340fba8c6c /src/com/android | |
| parent | 1417b189bc8c8993f238957e5b1771956042f59b (diff) | |
| download | android_packages_apps_Gallery2-83dae75ad4f5696756eac9c571219bfedfd5022a.tar.gz android_packages_apps_Gallery2-83dae75ad4f5696756eac9c571219bfedfd5022a.tar.bz2 android_packages_apps_Gallery2-83dae75ad4f5696756eac9c571219bfedfd5022a.zip | |
Gallery2: fix timeline title display abnormal.
timeline title will displays abnormal after set a large photo as
contact photo.
set correct cluster kind to fix it.
Change-Id: Iec62a81bb61b09be4466418520baaa7426ecaeaf
CRs-Fixed: 1004573
Diffstat (limited to 'src/com/android')
| -rw-r--r-- | src/com/android/gallery3d/data/ClusterAlbumSet.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/android/gallery3d/data/ClusterAlbumSet.java b/src/com/android/gallery3d/data/ClusterAlbumSet.java index 3dc1ec0c5..0986a8d69 100644 --- a/src/com/android/gallery3d/data/ClusterAlbumSet.java +++ b/src/com/android/gallery3d/data/ClusterAlbumSet.java @@ -131,6 +131,8 @@ public class ClusterAlbumSet extends MediaSet implements ContentListener { album = (ClusterAlbum) dataManager.peekMediaObject(childPath); if (album == null) { album = new ClusterAlbum(childPath, dataManager, this, mKind); + } else { + album.setClusterKind(mKind); } } album.setMediaItems(clustering.getCluster(i)); |
