summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/filtershow/imageshow
diff options
context:
space:
mode:
authorJohn Hoford <hoford@google.com>2013-10-09 13:54:45 -0700
committerJohn Hoford <hoford@google.com>2013-10-09 13:56:46 -0700
commit64fc2ed005e2f1dc9ed0b34481c46a370c244b86 (patch)
treeabf741102c8e2e66a407499f416e475f6f1ad0ac /src/com/android/gallery3d/filtershow/imageshow
parent58b6f484263f57009e22fef482a9ae1a4d3f48b6 (diff)
downloadandroid_packages_apps_Gallery2-64fc2ed005e2f1dc9ed0b34481c46a370c244b86.tar.gz
android_packages_apps_Gallery2-64fc2ed005e2f1dc9ed0b34481c46a370c244b86.tar.bz2
android_packages_apps_Gallery2-64fc2ed005e2f1dc9ed0b34481c46a370c244b86.zip
hide popupmenu during rotate
bug:11135309 Change-Id: I5954fafe1f081f8d1fc30c36f5cf6b2c66cb9511
Diffstat (limited to 'src/com/android/gallery3d/filtershow/imageshow')
-rw-r--r--src/com/android/gallery3d/filtershow/imageshow/ImageCurves.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/android/gallery3d/filtershow/imageshow/ImageCurves.java b/src/com/android/gallery3d/filtershow/imageshow/ImageCurves.java
index 82c4b2fc7..0d20322d6 100644
--- a/src/com/android/gallery3d/filtershow/imageshow/ImageCurves.java
+++ b/src/com/android/gallery3d/filtershow/imageshow/ImageCurves.java
@@ -34,6 +34,7 @@ import android.widget.LinearLayout;
import android.widget.PopupMenu;
import com.android.gallery3d.R;
+import com.android.gallery3d.filtershow.FilterShowActivity;
import com.android.gallery3d.filtershow.editors.Editor;
import com.android.gallery3d.filtershow.editors.EditorCurves;
import com.android.gallery3d.filtershow.filters.FilterCurvesRepresentation;
@@ -116,6 +117,7 @@ public class ImageCurves extends ImageShow {
});
Editor.hackFixStrings(popupMenu.getMenu());
popupMenu.show();
+ ((FilterShowActivity)getContext()).onShowMenu(popupMenu);
}
@Override