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

Commit 89951aa7 authored by Steve Kondik's avatar Steve Kondik Committed by Gerrit Code Review
Browse files

Merge "Fix: Do not change music volume if screen off and no music playing" into gingerbread

parents 8bf0ed9c f0b334f7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2095,7 +2095,7 @@ public class PhoneWindowManager implements WindowManagerPolicy {
                    handleVolumeLongPressAbort();

                    // delay handling volume events if mVolBtnMusicControls is desired
                    if (!mIsLongPress && (result & ACTION_PASS_TO_USER) == 0)
                    if (isMusicActive() && !mIsLongPress && (result & ACTION_PASS_TO_USER) == 0)
                        handleVolumeKey(AudioManager.STREAM_MUSIC, keyCode);
                }
                if (down) {