Commit graph

10 commits

Author SHA1 Message Date
LuK1337
2d80176062 sdm845-common: doze: Update AmbientDisplayConfiguration class path
Change-Id: Ib0444acc1fd8614a9d47dbac06ac5f25cd6a5719
2019-09-12 19:11:57 +02:00
Bruno Martins
7cf5c4f256 sdm845-common: Doze: Migrate to androidx
Change-Id: Ifaa67283a3437549a2304088a0ce377b399da19f
2019-07-09 23:42:44 +02:00
LuK1337
b0aa068bd3 sdm845-common: doze: Fix default DOZE_ALWAYS_ON value
* It's disabled by default in our fwb overlay.

Change-Id: Ie38a51c2cc73078d201985cc30f0b6fa3d1630d5
2019-01-15 12:55:24 +01:00
Luca Stefani
f67403199e sdm845-common: doze: Move Utils.checkDozeService in an handler
* There's no need to manually write to the gestures prefs
  as long we are sure the handler is run after we return true
  in the onPreferenceChangeListner

Change-Id: I090c0c6c91267aff69c45365b95b5f5e26d07b07
2019-01-08 15:15:49 +01:00
Luca Stefani
5736ed5e06 sdm845-common: doze: Set entry timestamp before registering sensor
Change-Id: Ifa8aa1ded029c3c7be44ac94355e6814c080be44
2019-01-08 15:15:44 +01:00
Bruno Martins
ea2cc87e51 sdm845-common: doze: Add AOD support to Ambient Display
* This makes the always on display mode feature visible for those
   devices that explicitly set it as available via AOSP overlay.
   Should only be enabled on devices where the display has been tuned
   to be power efficient in DOZE and/or DOZE_SUSPEND states.

Change-Id: If543936f9421dd7a6c0be594f7cb76afb227e34b
2019-01-08 15:15:43 +01:00
Luca Stefani
8e87bbae81 sdm845-common: doze: Add missing pocket mode hooks
Change-Id: I81af20cb9f737e0a2260c42fc91530572b16ec5e
2019-01-08 13:33:43 +01:00
Luca Stefani
7eac1259ab sdm845-common: doze: Add pocket mode support
Change-Id: I68498fb3e523fcc77a3db0ecb5d57c1a0df2a701
2019-01-08 12:27:32 +01:00
Joey
3fc954c7bd sdm845-common: doze: Match Pie settings UI
Change-Id: Ia1cde37923c55faf057189f7085b69522e2802ef
2019-01-05 20:21:27 +01:00
LuK1337
ee329ad0bb sdm845-common: Add OnePlusDoze app for pickup sensor handling
* Based off android_device_oneplus_oneplus3 doze app but
  with proximity related features stripped out and updated
  pickup sensor name.

Change-Id: I9f81b153948069cd4370c75817f12e91f6869e1d
2018-07-27 11:38:34 +02:00