summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorAdam Powell <adamp@google.com>2011-01-21 18:12:02 -0800
committerAdam Powell <adamp@google.com>2011-01-21 18:12:02 -0800
commitb3312b88c1f10cd29f9b55b03d5b41fc429ebfb5 (patch)
treef04d19778ce7ca7f7604d631be7da24d9bb51c7e /core
parent84fbff1299880c56c8f12a09b1a432ffa9aabfd9 (diff)
downloadframeworks_base-b3312b88c1f10cd29f9b55b03d5b41fc429ebfb5.zip
frameworks_base-b3312b88c1f10cd29f9b55b03d5b41fc429ebfb5.tar.gz
frameworks_base-b3312b88c1f10cd29f9b55b03d5b41fc429ebfb5.tar.bz2
Fix bug 3360851 - actionbar overflow menu button doesn't trigger "audible selection"
Change-Id: I768d35f9752d5f6466708fd191781aa26aefd121
Diffstat (limited to 'core')
-rw-r--r--core/java/com/android/internal/view/menu/ActionMenuView.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/java/com/android/internal/view/menu/ActionMenuView.java b/core/java/com/android/internal/view/menu/ActionMenuView.java
index 8825c02..30d6878 100644
--- a/core/java/com/android/internal/view/menu/ActionMenuView.java
+++ b/core/java/com/android/internal/view/menu/ActionMenuView.java
@@ -22,6 +22,7 @@ import android.content.res.TypedArray;
import android.graphics.drawable.Drawable;
import android.util.AttributeSet;
import android.view.Gravity;
+import android.view.SoundEffectConstants;
import android.view.View;
import android.view.ViewGroup;
import android.view.ViewParent;
@@ -328,6 +329,7 @@ public class ActionMenuView extends LinearLayout implements MenuBuilder.ItemInvo
return true;
}
+ playSoundEffect(SoundEffectConstants.CLICK);
showOverflowMenu();
return true;
}