GitHub/LineageOS/android_hardware_motorola.git
3 years agoMotoActions: TorchAction: register custom torch callback lineage-17.1
Vachounet [Fri, 19 Feb 2021 11:14:15 +0000 (12:14 +0100)]
MotoActions: TorchAction: register custom torch callback

* Actually callback is not registered and never triggered. When user enabled torch with power long press or with qs tile and then do the gesture to disable it (or the other way around), he will have to do the gesture twice since boolean has not been updated.

Change-Id: I03e88b6975300943fbeaf536fdf8552b9e3b3396

3 years agoMotoActions: doze: Register approach sensor properly
Erfan Abdi [Sat, 9 Jan 2021 23:11:09 +0000 (02:41 +0330)]
MotoActions: doze: Register approach sensor properly

Change-Id: I55814f673756965614e4a4a3d687de8ac73ac173

3 years agoMotoActions: Set doze options back to true
jro1979oliver [Mon, 18 Jan 2021 10:50:50 +0000 (07:50 -0300)]
MotoActions: Set doze options back to true

* While c9999dacb17 introduced options to false, whole code sets to true as default.
Bring it back to default code behavior

Change-Id: I32cb9851c81282e0440f5a0d1654f31b37e35c91
(cherry picked from commit 0cfc1872239eb0ac57355ae4e5060909ef4235b4)

3 years agoMotoActions: Fix always on detection
Jeferson Oliveira [Fri, 8 Jan 2021 19:04:03 +0000 (20:04 +0100)]
MotoActions: Fix always on detection

* PreferenceCategory is removed since c9999dacb17c. Insert again to fix AOD.

Change-Id: I5b16317875ec6c0bce6463bcf853d9085dfc0087

3 years agoMotoActions: use simple style for gestures menu
Erfan Abdi [Sat, 28 Jul 2018 13:04:06 +0000 (17:34 +0430)]
MotoActions: use simple style for gestures menu

Change-Id: I7f2d8d26dc1c03d67b05d6767b65f3dd7a464c88
Signed-off-by: Erfan Abdi <erfangplus@gmail.com>
3 years agoMotoActions: add material icons for Ambient Display
UtsavisGreat [Sun, 19 May 2019 05:51:37 +0000 (05:51 +0000)]
MotoActions: add material icons for Ambient Display

* Make follow system accents as well

Change-Id: I8ea63f82e079ba7868313c14e4973f9c1dd9789d

3 years agoMotoActions: Don't show preference for non existing sensor
Michael W [Tue, 29 Dec 2020 17:33:35 +0000 (18:33 +0100)]
MotoActions: Don't show preference for non existing sensor

* Looks like some variants don't have a CameraActivationSensor, so let's
  remove the preference as the user's choice won't have an effect anyway

Change-Id: I7d157a992a6cb9ee333752772bc5e3b647b614f2

3 years agoMotoActions: Don't crash settings
Michael W [Tue, 29 Dec 2020 17:23:17 +0000 (18:23 +0100)]
MotoActions: Don't crash settings

* Registering a non-existing sensor causes a RuntimeException which crashes
  the Settings app which in turn takes down the whole system
* Change the RuntimeExceptions to normal error loggings

Change-Id: I18a73adc311bec6b70440a3266c7e2af74baa55a

3 years agoMotoActions: Import Stock drawables
Vache [Fri, 13 Nov 2020 11:37:22 +0000 (17:07 +0530)]
MotoActions: Import Stock drawables

Co-authored-by: Rohan Hasabe <rohanhasabe8@gmail.com>
Change-Id: Ifea41d44ab133db5b921341f5beb3e9bf5e618c5
Signed-off-by: Rohan Hasabe <rohanhasabe8@gmail.com>
3 years agomotorola: rename LineageActions to MotoActions
Jan Altensen [Wed, 23 Dec 2020 14:33:49 +0000 (15:33 +0100)]
motorola: rename LineageActions to MotoActions

Change-Id: I07e4b35309b3a645fab5acfcd1d18f8c30109b92

3 years agomotorola: move LineageActions to system
Joshua Blanchard [Sun, 20 Oct 2019 17:00:34 +0000 (19:00 +0200)]
motorola: move LineageActions to system

Change-Id: I843c188bde89e37483fc66dbc4d09e2a600a37fe

3 years agomotorola: import LineageActions from nash
Jan Altensen [Fri, 4 Sep 2020 21:17:43 +0000 (23:17 +0200)]
motorola: import LineageActions from nash

 * taken from f587977924db43a1f37b8a7a5ffcf73d5c4ae4a2 @ LineageOS/android_device_motorola_nash

Change-Id: Iaad009cb167850e39b324edcea302eccb5b0fccf

3 years agoinitial commit
Jan Altensen [Wed, 23 Dec 2020 14:23:03 +0000 (15:23 +0100)]
initial commit

Change-Id: I29e50165a96864fbcdd19d32e76b58dff5c03737