3
0
Fork 0
android_frameworks_base/packages/SystemUI/tests
ezio84 7167827c1e base: Long press power button to toggle flashlight [1/2]
* Thanks to beanstown106 for the initial longpress action calls in
   PhoneWindowManager (improved by lineage guys)

 * Remove the settings pref if the device doesn't have flashlight

 * Vibrate when toggling torch to let the user know of unwanted toggling
   in the pocket (even if vibration is disabled by user)

 * Allow torch action also on ambient display

[ezio84] :
- Fix after Android 12L merge

[AEX Edits] :
- Port to S
- simplify code

[mydongistiny]:
- Fixed for android10

[DennySPB] :
- base: ScreenOff torch: Allow to disable torch when screen is on

[mickaelmendes50] :
- Adapt to AOSPA
- Adapt to Android 13

[anayw2001]:
- Adapt to udc-qpr2

 * We don't allow users to use the Double Press power option,
   so remove the non used code.
 * Removed "double press power to toggle torch"
 * Removed "handle camera gesture here instead of extensions"
 * Removed "Add 170ms delay for double tap action"

Change-Id: I12da044f86c7b625872607529cf8524615cf576b
Co-authored-by: DennySPb <dennyspb@gmail.com>
Co-authored-by: Mesquita <mesquita@aospa.co>
[cyberknight777]: Forward port to A14 QPR2
Signed-off-by: Adin Kwok <adin.kwok@carbonrom.org>
Signed-off-by: mydongistiny <jaysonedson@gmail.com>
Signed-off-by: Arghya Chanda <arghyac35@gmail.com>
Signed-off-by: SagarMakhar <sagarmakhar@gmail.com>
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
2024-12-06 12:53:39 +00:00
..
goldens
res
robolectric
src base: Long press power button to toggle flashlight [1/2] 2024-12-06 12:53:39 +00:00
utils Fixes the issue of UDFPS icon background being white when the device is in DOZE_PULSING state 2024-10-13 16:41:08 +00:00
Android.bp
AndroidManifest-base.xml
AndroidManifest.xml
AndroidTest.xml