OSDN Git Service
PhoneWindowManager: Allow torch and track skip during ambient display
(Backport to cm-14.1)
This allows long press power button for torch and long press
volume buttons for track skip to work during ambient display.
sam3000/razorloves: partial pick from:
Author: ezio84 <brabus84@gmail.com>
Date: Fri Feb 2 01:24:34 2018 -0500
base: Support binding the power button to flashlight
Thanks to beanstown106 for the initial longpress action calls in
PhoneWindowManager (improved by lineage guys)
[cut]
Allow torch action also on ambient display
Change-Id: I12da044f86c7b625872607529cf8524615cf576b
Author: ezio84 <brabus84@gmail.com>
Date: Sun, 7 Jan 2018 21:24:53 +0100
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
Change-Id: I75f46a0dbfbc2308e51bca73fbaa9e646f73d9ab