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/EditorGrad.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/EditorGrad.java')
-rw-r--r-- | src/com/android/gallery3d/filtershow/editors/EditorGrad.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/android/gallery3d/filtershow/editors/EditorGrad.java b/src/com/android/gallery3d/filtershow/editors/EditorGrad.java index 80c430379..059121634 100644 --- a/src/com/android/gallery3d/filtershow/editors/EditorGrad.java +++ b/src/com/android/gallery3d/filtershow/editors/EditorGrad.java @@ -31,6 +31,7 @@ import android.widget.TextView; import android.widget.ToggleButton; import com.android.gallery3d.R; +import com.android.gallery3d.filtershow.FilterShowActivity; import com.android.gallery3d.filtershow.controller.Control; import com.android.gallery3d.filtershow.controller.FilterView; import com.android.gallery3d.filtershow.controller.Parameter; @@ -254,6 +255,7 @@ public class EditorGrad extends ParametricEditor setUpPopupMenu(button); } mPopupMenu.show(); + ((FilterShowActivity)mContext).onShowMenu(mPopupMenu); } private void setUpPopupMenu(Button button) { |