Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ebed47ce authored by ezhao3X's avatar ezhao3X Committed by David Daynard
Browse files

Audio: Fix abnormal keytone playback during silent mode changing



Change-Id: Icfc4003c9756b3c33578c137e59dc4a2b4f25647
Author: Chenyang Du <chenyang.du@intel.com>
Signed-off-by: default avatarErtao Zhao <ertaox.zhao@intel.com>
Signed-off-by: default avatarShuo Gao <shuo.gao@intel.com>
Signed-off-by: default avatarBruce Beare <bruce.j.beare@intel.com>
Signed-off-by: default avatarJack Ren <jack.ren@intel.com>
Author-tracking-BZ: 19084 4898
parent 59d50089
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -291,11 +291,11 @@ public abstract class AdapterView<T extends Adapter> extends ViewGroup {
     */
    public boolean performItemClick(View view, int position, long id) {
        if (mOnItemClickListener != null) {
            playSoundEffect(SoundEffectConstants.CLICK);
            if (view != null) {
                view.sendAccessibilityEvent(AccessibilityEvent.TYPE_VIEW_CLICKED);
            }
            mOnItemClickListener.onItemClick(this, view, position, id);
            playSoundEffect(SoundEffectConstants.CLICK);
            return true;
        }