pa-phoenix / android_packages_apps_ParanoidDoze

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Setting up Paranoid Doze

To build Paranoid Doze you have to build the package in your device tree.

    # Paranoid Doze
    PRODUCT_PACKAGES += \
        ParanoidDoze

In order to have the proper options showing up you have to define the device related sensors in your build properties

  • Set this to "true" if the device uses the proximity sensor to check for pocket & handwave gestures.
    ro.sensor.proximity
  • The device specific pickup sensor to enable pickup gesture.
    ro.sensor.pickup

OEM Examples

These properties are not representative of all OnePlus/Xiaomi devices and serve as an example, you'll need to reconfirm which ones your device uses.

  • OnePlus
    ro.sensor.pickup=oneplus.sensor.pickup
  • Xiaomi
    ro.sensor.proximity=true
    ro.sensor.pickup=xiaomi.sensor.pickup

About


Languages

Language:Java 100.0%