Skip to content
Commit c629339b authored by Austin T. Conn's avatar Austin T. Conn Committed by Joey
Browse files

base: Forward Port Volume Long Press Skip Tracks [1/2]



Bring Forward Volume Rocker Track Change

Requires Settings Change
(packages/apps/Settings)

* @brituj : AudioService: Allow volume-key long press even when screen is off

* @mickaelmendes50 : Adapt to Android 11

* Drop previous changes of AudioService as, in theory, the event should
  never reach it at all.

Change-Id: I70b00e08fe48707110725dd1daa56b1e48d15a03

Fix volume rocker skip track on Ambient Display and Lift to Wake

we need to check if dream service is dozing before checking
keyguard status

Change-Id: Ic3a6c830496188bb6edf27043cd24eb2d553bb82

Fix long press volume buttons skip tracks

Without that patch, the volume changes up or down prior
to skipping tracks because the sendvolumekeyevent doesn't
have the mayChangeVolume condition. Also, that part is
useless cause the mUseTvRouting condition is taken care
of correctly later.

[ghostrider-reborn]: Fixed an issue where volume control was broken while screen off.

Change-Id: I88757315f135f013e7692861d46b3a07fbfc07d5
Co-authored-by: default avatarrituj <ritujbeniwal@gmail.com>
Co-authored-by: default avatarghostrider-reborn <gh0strider.2k18.reborn@gmail.com>
parent 21419168
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment