13 Commits

Author SHA1 Message Date
dianlujitao
7f2f48beae MotoActions: Move rest strings to devicesettings
Change-Id: I66c4768a45d20ea5e33500379369578980bfdfee
2022-06-08 20:06:20 +08:00
TheScarastic
860266e24f MotoActions: Adapt to S style
* Use Theme.SubSettingsBase for theme
 * Replace PreferenceActivity with CollapsingToolbarBaseActivity
 * Add Titles to preference screen
 * Remove onOptionsItemSelected and where necessary move to activity

Co-authored-by: Erfan Abdi <erfangplus@gmail.com>
Change-Id: I87af15f5e165aa7bcd556eb2b716c0ce624ca4e7
2022-02-16 23:23:41 +08:00
Michael W
a95471f870 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
2022-02-12 23:30:46 -05:00
Jeferson
4a07e9ca98 MotoActions: Remove gestures icon
Change-Id: I5d3b246a8e496e03ff31eb67e63c867262840832
2022-02-12 23:28:13 -05:00
dianlujitao
aa1d43e9fd MotoActions: Implement a dedicated pocket gesture toggle
Change-Id: I23b41d396f88e897004e571c24a1128ef3e29d49
2022-02-12 23:28:00 -05:00
dianlujitao
79505d555e MotoActions: Bring doze settings up-to-date
Based off oneplus3 doze app and integrated with MotoActions.

Change-Id: Ie5e87ecd1cf33631b71186a95e33dcddd70acb11
2022-02-12 23:27:26 -05:00
dianlujitao
97a3a03979 MotoActions: Use common style from devicesettings
Change-Id: I613b106fec0b6580d08a0a580988007807958db2
2022-02-12 23:27:21 -05:00
jro1979oliver
0cfc187223 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
2021-01-18 12:58:27 +01:00
Jeferson Oliveira
e8e3def827 MotoActions: Fix always on detection
* PreferenceCategory is removed since c9999dacb17c. Insert again to fix AOD.

Change-Id: I5b16317875ec6c0bce6463bcf853d9085dfc0087
2021-01-08 20:17:53 +01:00
Erfan Abdi
5811c17e54 MotoActions: use simple style for gestures menu
Change-Id: I7f2d8d26dc1c03d67b05d6767b65f3dd7a464c88
Signed-off-by: Erfan Abdi <erfangplus@gmail.com>
2021-01-05 21:18:52 +01:00
UtsavisGreat
1bbdaed20b MotoActions: add material icons for Ambient Display
* Make follow system accents as well

Change-Id: I8ea63f82e079ba7868313c14e4973f9c1dd9789d
(cherry picked from commit c9999dacb17c2372be960a05789b603f827dad2b)
2021-01-05 21:18:28 +01:00
Vache
b5fe31396d
MotoActions: Import Stock drawables
Co-authored-by: Rohan Hasabe <rohanhasabe8@gmail.com>

Change-Id: Ifea41d44ab133db5b921341f5beb3e9bf5e618c5
Signed-off-by: Rohan Hasabe <rohanhasabe8@gmail.com>
2020-12-23 18:06:21 +01:00
Jan Altensen
d2314727ed
motorola: rename LineageActions to MotoActions
Change-Id: I07e4b35309b3a645fab5acfcd1d18f8c30109b92
2020-12-23 16:23:30 +01:00