summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
dianlujitao [Sat, 12 Feb 2022 04:21:32 +0000 (12:21 +0800)]
MotoActions: Specify a qualified user for start activity
Fixes warning:
ContextImpl: Calling a method in the system process without a
qualified user
Change-Id: I9352fc85adfacebcf535dfc2b5328dd07476cdb6
Michael W [Fri, 11 Feb 2022 14:38:28 +0000 (15:38 +0100)]
MotoActions: General cleanup
* Remove unused classes, methods, interfaces, imports
* Reorder imports
* Add final where applicable
* Fix line lengths
* Use local variables where possible
* Replace deprecated Vibrator.vibrate(long) with the successor
* Simplify conditions where they are always met
* Rearrange tags and remove unused schemas in resources
* Merge ScreenReceiver into the service
-> a separate, instantiated but never called-into class makes
one think it's unused
Change-Id: I05cff7ecaf424c166fedceb1f4f8963164c6085a
Kyle Harrison [Wed, 15 May 2019 16:45:55 +0000 (17:45 +0100)]
MotoActions: Broadcast doze pulse as current user
- Fixes warning in logcat
Change-Id: Ibed659bd5d801a8cdcfe12ec9dd789cb8ce481cb
Jeferson [Thu, 10 Feb 2022 11:04:42 +0000 (12:04 +0100)]
MotoActions: Remove gestures icon
Change-Id: I5d3b246a8e496e03ff31eb67e63c867262840832
dianlujitao [Wed, 2 Feb 2022 10:07:22 +0000 (18:07 +0800)]
MotoActions: Use stow sensor for both hand wave and pick up gestures
* The behaviors of stow and proximity sensors are pretty similar, so
there's no need to use both at the same time. Simply use the stow
sensor to handle both hand wave and pick up gestures.
* Switch to timestamp associated with the sensor event to determine the
operation while at it.
Change-Id: I39767cf7b2e48bc2b0baabfac1e47240012f71d6
dianlujitao [Wed, 2 Feb 2022 09:24:10 +0000 (17:24 +0800)]
MotoActions: Implement a dedicated pocket gesture toggle
Change-Id: I23b41d396f88e897004e571c24a1128ef3e29d49
dianlujitao [Wed, 2 Feb 2022 05:33:05 +0000 (13:33 +0800)]
MotoActions: Drop glance sensor for doze
* This sensor gets triggered by any physical movements of the device.
Slight shakes of your table could even wake up the device, which is
clearly undesired.
* The ordinary pick up gesture is detected by the flat up sensor.
Change-Id: I1fe492e8e23f09adebab38f123f6bb497cc7a0f4
dianlujitao [Wed, 2 Feb 2022 02:51:02 +0000 (10:51 +0800)]
MotoActions: Relocate to AOSP gestures category
Change-Id: I28995767c55749bf2f8daa2738d7543d554787b8
dianlujitao [Tue, 1 Feb 2022 15:22:46 +0000 (23:22 +0800)]
MotoActions: Bring doze settings up-to-date
Based off oneplus3 doze app and integrated with MotoActions.
Change-Id: Ie5e87ecd1cf33631b71186a95e33dcddd70acb11
dianlujitao [Tue, 1 Feb 2022 09:29:29 +0000 (17:29 +0800)]
MotoActions: Use common style from devicesettings
Change-Id: I613b106fec0b6580d08a0a580988007807958db2
dianlujitao [Tue, 1 Feb 2022 09:13:05 +0000 (17:13 +0800)]
MotoActions: Convert to Android.bp
Change-Id: I678d6bfd1058248203e8a5fb7e5720a2d2573ca2
dianlujitao [Sun, 30 Jan 2022 15:58:41 +0000 (23:58 +0800)]
MotoActions: Use strings from common devicesettings repo
Change-Id: I253300027641b5c97cd2adec9154e3a8f7b766b2
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
Erfan Abdi [Sat, 9 Jan 2021 23:11:09 +0000 (02:41 +0330)]
MotoActions: doze: Register approach sensor properly
Change-Id: I55814f673756965614e4a4a3d687de8ac73ac173
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
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
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>
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
(cherry picked from commit
c9999dacb17c2372be960a05789b603f827dad2b)
Jan Altensen [Wed, 23 Dec 2020 21:34:40 +0000 (22:34 +0100)]
MotoActions: move to system_ext
Change-Id: I3b4d22eb0fb7a020a804bfb084b66f59bc042d41
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
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
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>
Jan Altensen [Wed, 23 Dec 2020 14:33:49 +0000 (15:33 +0100)]
motorola: rename LineageActions to MotoActions
Change-Id: I07e4b35309b3a645fab5acfcd1d18f8c30109b92
Joshua Blanchard [Sun, 20 Oct 2019 17:00:34 +0000 (19:00 +0200)]
motorola: move LineageActions to system
Change-Id: I843c188bde89e37483fc66dbc4d09e2a600a37fe
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
Jan Altensen [Wed, 23 Dec 2020 14:23:03 +0000 (15:23 +0100)]
initial commit
Change-Id: I29e50165a96864fbcdd19d32e76b58dff5c03737