Commit Graph

24 Commits

Author SHA1 Message Date
Alberto97
0f4d87a6d9 Actions: Robustify
* Use not deprecated APIs where possible
* Added some NPE safety checks
* General cleaning of unsed code
2019-12-16 15:29:06 +01:00
Alberto97
d70a65507e Actions: Clean up Android.mk 2019-12-16 15:29:06 +01:00
Alberto97
e9d5768790 Actions: FlipToMute: Vibrate when going DND 2019-12-16 15:29:06 +01:00
Jorge Lucas
0d096c77b2 sanders: Update KeyHandler for AOSP
Signed-off-by: Jorge Lucas <jorgelucas.sd@gmail.com>
2019-12-16 15:29:05 +01:00
Henrique Silva
cafd9ec582 [REQUIRED] MotoActions: Fix font and accent color
Signed-off-by: JarlPenguin <jarlpenguin@outlook.com>
Change-Id: Ib072bbfdd6d3c7efbfd115eec641841f72183fe1
2019-12-16 15:29:05 +01:00
UtsavisGreat
5dcd531590 MotoActions: add material icons for Ambient Display
Kanged-off-from: 3831e2df1a (diff-78f0805fa8ffadabda721fdaf85b3ca)

Signed-off-by: UtsavisGreat <utsavbalar1231@gmail.com>
Signed-off-by: utsavisgreat <utsavbalar1231@gmail.com>
2019-12-16 15:29:05 +01:00
UtsavisGreat
aab9d3c51a MotoActions: Add Material Icons for Fingerprint Gestures
Signed-off-by: UtsavisGreat <utsavbalar1231@gmail.com>
2019-12-16 15:29:05 +01:00
kubersharma001
390fd1c714 sanders: MotoActions: Drop min|target sdk version
Change-Id: I0ce82d8e6c5e2f432426fa9c98a36f33ece9bc52
2019-12-16 15:29:05 +01:00
therootlord
8a7fc2199a Revert "sanders: drop device keyhandler for now"
This reverts commit e3c7463566.

* Also remove proximity check from keyhandler
2018-11-07 16:35:12 -02:00
therootlord
7478a33ad1 Revert "sanders: move MotoActions to vendor"
This reverts commit 247c0b4e27.
2018-11-07 16:14:39 -02:00
therootlord
fe92bebb33 sanders: MotoActions: make icon color match others for Pie 2018-09-23 21:06:04 -03:00
Anton Hansson
378ac397d7 MotoActions: Set LOCAL_PRIVATE_PLATFORM_APIS
This change sets LOCAL_SDK_VERSION for all packages where
this is possible without breaking the build, and
LOCAL_PRIVATE_PLATFORM_APIS := true otherwise.

Setting one of these two will be made required soon, and this
is a change in preparation for that. Not setting LOCAL_SDK_VERSION
makes the app implicitly depend on the bootclasspath, which is
often not required. This change effectively makes depending on
private apis opt-in rather than opt-out.

Test: make relevant package
Bug: 73535841
Change-Id: I5196e8c7277ff86280782e7b479a499add2e8f9f
2018-09-23 21:06:04 -03:00
Alberto97
9fd73a0aeb MotoActions: Build with AAPT2
Change-Id: Ic1287412680509f87dab806b8745cc1c04b8df04
2018-09-23 21:06:04 -03:00
Alberto97
a2c262dd16 Actions: Don't listen for stow events
This was required in the past to trigger doze when pulling out the
device from a pocket (we were handling the "pick up" action with Flat Up sensor).
Currently Glance sensor is being used which gets triggered in the previously described case itself
thus there's no need to keep stow implementation alive.
2018-07-19 18:49:45 -03:00
Vachounet
247c0b4e27 sanders: move MotoActions to vendor 2018-07-19 03:02:59 -03:00
Vachounet
e3c7463566 sanders: drop device keyhandler for now 2018-07-19 03:02:59 -03:00
therootlord
efa9ea1915 sanders: MotoActions: Dexpreopt it 2018-02-11 19:47:49 -02:00
therootlord
f1e8d0379b sanders: MotoActions: Disable hand wave by default 2018-02-08 01:53:34 -02:00
therootlord
8cbf0fd3bb sanders: MotoActions: Re-add/fix Glance Sensor 2018-02-08 01:16:19 -02:00
jhenrique09
a1b586ff86 sanders: MotoActions: Nuke PiP action
* Useless
2018-01-27 17:52:04 -02:00
jhenrique09
fddc97c38d sanders: MotoActions: Change to sdk 27 2018-01-25 01:22:31 -02:00
Vachounet
f36554f416 MotoActions: remove unused debug logs 2018-01-20 00:52:12 -02:00
Adrian DC
e7d79b3425 MotoActions: Import Oreo Settings layouts
* These layouts are necessary for custom activities to inherit from
   (those that are integrated into Settings, which is the case of the
   several forms of DeviceSettings), in order to keep UI consistency.
   In Oreo, all Settings preferences and preference categories
   have a margin on the left, reserved for icons.

 * Place the layouts here, to avoid cluttering device trees
   (plain copy of Google's layouts from Settings app).

Change-Id: Ib3f670b19c7e728b97fd76efe04bcc2f69008b06
2018-01-16 02:04:05 -02:00
jhenrique09
5ed4bb49f9 sanders: LineageActions -> MotoActions 2018-01-16 02:02:08 -02:00