Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b9fe4e17 authored by John Spurlock's avatar John Spurlock
Browse files

Default "pickup peforms proximity check" to false.

Don't assume the pickup sensor will perform a proximity check before
starting to pulse.  This will add some latency, but necessary if
we can't trust the sensor.

Bug: 19083596
Change-Id: I51b7daf5ed76b2780ec5c949a75cc1fca247ddad
parent 7f7ea82c
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -255,7 +255,7 @@
    <integer name="doze_pickup_vibration_threshold">2000</integer>
    <integer name="doze_pickup_vibration_threshold">2000</integer>


    <!-- Doze: can we assume the pickup sensor includes a proximity check? -->
    <!-- Doze: can we assume the pickup sensor includes a proximity check? -->
    <bool name="doze_pickup_performs_proximity_check">true</bool>
    <bool name="doze_pickup_performs_proximity_check">false</bool>


    <!-- Doze: pulse parameter - how long does it take to fade in? -->
    <!-- Doze: pulse parameter - how long does it take to fade in? -->
    <integer name="doze_pulse_duration_in">900</integer>
    <integer name="doze_pulse_duration_in">900</integer>