Commit graph

4 commits

Author SHA1 Message Date
Nauval Rizky
1a67d0fdc2 sm8250-common: doze: Introduce raise to wake gesture
* Highly inspired by iOS raise to wake

- Adapted to OnePlus sm8250 doze

sm8250-common: doze: Add min interval for raise2wake

* avoid having early wakeup
* also fix typo in acquire timeout

sm8250-common: doze: Enable pickup when raise to wake is toggled

- This is needed in order for raise to wake to function properly.

sm8250-common: doze: Fix pickup status for raise to wake

Co-authored-by: AnierinB <anierinb@evolution-x.org>
Co-authored-by: AshutoshSundresh <ashutoshsundresh@gmail.com>
Co-authored-by: LuK1337 <priv.luk@gmail.com>
Signed-off-by: AnierinB <anierinb@evolution-x.org>
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
Signed-off-by: LuK1337 <priv.luk@gmail.com>
Change-Id: I5df0c4f11f1b24ab813abc393960c5f03f5fab1f
2021-05-16 17:03:16 +02:00
Marko Man
b44dde7090 sm8250-common: doze: Switch pickup sensor
Change-Id: Iad59604f15367e002964ecac3475e46acc319648
2020-06-27 00:17:27 +02:00
Luca Stefani
5736ed5e06 sdm845-common: doze: Set entry timestamp before registering sensor
Change-Id: Ifa8aa1ded029c3c7be44ac94355e6814c080be44
2019-01-08 15:15:44 +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