summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDoris Liu <tianliu@google.com>2012-10-08 16:31:00 -0700
committerDoris Liu <tianliu@google.com>2012-10-08 17:16:21 -0700
commit4438a7cce00cb19cb35cfc3cc149533f40043c00 (patch)
treeb059cd589305b9b936a3ee15966795fe020bed04 /src
parenta29eeac8993b221d98cffbec5583b5cba1921c89 (diff)
downloadandroid_packages_apps_Gallery2-4438a7cce00cb19cb35cfc3cc149533f40043c00.tar.gz
android_packages_apps_Gallery2-4438a7cce00cb19cb35cfc3cc149533f40043c00.tar.bz2
android_packages_apps_Gallery2-4438a7cce00cb19cb35cfc3cc149533f40043c00.zip
Fix details dialog not being dismissed
Bug: 7300997 Change-Id: I0d0dad50a9777f8ea49889a4517b8704a03021c5
Diffstat (limited to 'src')
-rw-r--r--src/com/android/gallery3d/app/PhotoPage.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/android/gallery3d/app/PhotoPage.java b/src/com/android/gallery3d/app/PhotoPage.java
index aecbb161a..5c9c598ae 100644
--- a/src/com/android/gallery3d/app/PhotoPage.java
+++ b/src/com/android/gallery3d/app/PhotoPage.java
@@ -1169,6 +1169,8 @@ public class PhotoPage extends ActivityState implements
mHandler.removeMessages(MSG_UNFREEZE_GLROOT);
DetailsHelper.pause();
+ // Hide the detail dialog on exit
+ if (mShowDetails) hideDetails();
if (mModel != null) {
if (isFinishing()) preparePhotoFallbackView();
mModel.pause();