Commit graph

3 commits

Author SHA1 Message Date
OdSazib
f441fa06a2
sdm660-common: XiaomiDoze: Raise To Wake Gesture
- Adapted to Xiaomi SDM660
- Implemented with tilt sensor

SQUASHED COMMITS:
-----------------
* sdm845-common: Introduce raise to wake gesture
- Highly inspired by iOS raise to wake

* EvoX notes:
- Adapted to OnePlus sdm845
- Strings will be added to packages/resources/devicesettings which is where all current strings are located

* sdm845-common: doze: Add min interval for raise2wake
- avoid having early wakeup

* sd845-common: doze: raise2wake: Check proximity before wakeup
- To avoid having unnecessary wakeups when phone inside the pocket

* sdm845-common: doze: Enable pickup when raise to wake is toggled
- This is needed in order for raise to wake to function properly.

References:
* f45b58b511
* dc69b3678c

Co-authored-by: Nauval Rizky <enuma.alrizky@gmail.com>
Co-authored-by: AnierinB <anierinb@evolution-x.org>
Signed-off-by: Nauval Rizky <enuma.alrizky@gmail.com>
Signed-off-by: Joey Huab <joey@evolution-x.org>
Signed-off-by: AnierinB <anierinb@evolution-x.org>
Signed-off-by: OdSazib <odsazib@gmail.com>
2020-11-05 13:18:22 +06:00
AnierinB
88279b484c
sdm660-common: XiaomiDoze: Add Doze Tile
- Launches DozeSettingsActivity

* Reference: 827d11cc8b

Signed-off-by: AnierinB <anierinb@evolution-x.org>
Signed-off-by: OdSazib <odsazib@gmail.com>
2020-11-05 13:18:22 +06:00
Max Weffers
ab308a6727
sdm660: Treewide: Cleanup and Reorder
* Remove Double Definition
* Reordeder Alphabetic
* Move Audio and Media Files to Configs
* Move Wifi Configuration to Configs
* Cleanup Overlay and Reorder
* Move Privapp Permission to new Folder
* Reorder Properties and rename mk
* Move Xiaomi Doze to new Folder
2019-12-30 23:00:29 +01:00