diff options
author | John Hoford <hoford@google.com> | 2013-10-09 13:54:45 -0700 |
---|---|---|
committer | John Hoford <hoford@google.com> | 2013-10-09 13:56:46 -0700 |
commit | 64fc2ed005e2f1dc9ed0b34481c46a370c244b86 (patch) | |
tree | abf741102c8e2e66a407499f416e475f6f1ad0ac /src/com/android/gallery3d/filtershow/editors/EditorCrop.java | |
parent | 58b6f484263f57009e22fef482a9ae1a4d3f48b6 (diff) | |
download | android_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/editors/EditorCrop.java')
-rw-r--r-- | src/com/android/gallery3d/filtershow/editors/EditorCrop.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/android/gallery3d/filtershow/editors/EditorCrop.java b/src/com/android/gallery3d/filtershow/editors/EditorCrop.java index 1e025d8bf..6b19d3c2f 100644 --- a/src/com/android/gallery3d/filtershow/editors/EditorCrop.java +++ b/src/com/android/gallery3d/filtershow/editors/EditorCrop.java @@ -28,6 +28,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.filters.FilterCropRepresentation; import com.android.gallery3d.filtershow.filters.FilterRepresentation; import com.android.gallery3d.filtershow.imageshow.ImageCrop; @@ -140,6 +141,7 @@ public class EditorCrop extends Editor implements EditorInfo { } }); popupMenu.show(); + ((FilterShowActivity)mContext).onShowMenu(popupMenu); } @Override |