summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/app
diff options
context:
space:
mode:
authorRay Chen <raychen@google.com>2011-08-26 21:15:07 +0800
committerRay Chen <raychen@google.com>2011-08-26 21:15:07 +0800
commitf595f26b83a5f30b7356e4dcbb85c23a6c0bd554 (patch)
treea68515d6b92fdceac7f8cabf8947320e6eb45d8b /src/com/android/gallery3d/app
parent327eeb846fa6b2649db90fc4e5708f7fdcbbfaa2 (diff)
downloadandroid_packages_apps_Snap-f595f26b83a5f30b7356e4dcbb85c23a6c0bd554.tar.gz
android_packages_apps_Snap-f595f26b83a5f30b7356e4dcbb85c23a6c0bd554.tar.bz2
android_packages_apps_Snap-f595f26b83a5f30b7356e4dcbb85c23a6c0bd554.zip
Fix 5133608 [UI] Details should be displayed as a system dialog in phone UI
We need this to reset the grid drawer. Change-Id: Iead6568db1903d7e722f0e8154388ccd8f1aee67
Diffstat (limited to 'src/com/android/gallery3d/app')
-rw-r--r--src/com/android/gallery3d/app/AlbumPage.java3
-rw-r--r--src/com/android/gallery3d/app/AlbumSetPage.java3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/com/android/gallery3d/app/AlbumPage.java b/src/com/android/gallery3d/app/AlbumPage.java
index 2f1c2955b..8bd1eacb9 100644
--- a/src/com/android/gallery3d/app/AlbumPage.java
+++ b/src/com/android/gallery3d/app/AlbumPage.java
@@ -410,8 +410,9 @@ public class AlbumPage extends ActivityState implements GalleryActionBar.Cluster
private void hideDetails() {
mShowDetails = false;
- mAlbumView.setSelectionDrawer(mGridDrawer);
mDetailsHelper.hide();
+ mAlbumView.setSelectionDrawer(mGridDrawer);
+ mAlbumView.invalidate();
}
@Override
diff --git a/src/com/android/gallery3d/app/AlbumSetPage.java b/src/com/android/gallery3d/app/AlbumSetPage.java
index 352cf5ad5..72eae55db 100644
--- a/src/com/android/gallery3d/app/AlbumSetPage.java
+++ b/src/com/android/gallery3d/app/AlbumSetPage.java
@@ -514,8 +514,9 @@ public class AlbumSetPage extends ActivityState implements
private void hideDetails() {
mShowDetails = false;
- mAlbumSetView.setSelectionDrawer(mGridDrawer);
mDetailsHelper.hide();
+ mAlbumSetView.setSelectionDrawer(mGridDrawer);
+ mAlbumSetView.invalidate();
}
private void showDetails() {