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

Commit 5e1f007d authored by Beverly's avatar Beverly Committed by Automerger Merge Worker
Browse files

Directly register for prox as the secondary sensor am: 61c6e46c am: 4b46c340

Original change: https://googleplex-android-review.googlesource.com/c/device/google/redfin/+/15716621

Change-Id: Ib8efed38d9a6eeddf26cc11c48b3de0fc72bd5e9
parents 60149bab 4b46c340
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -44,14 +44,13 @@
         noisy sensors. -->
    <item name="proximity_sensor_threshold_latch" translatable="false" format="float" type="dimen">24</item>

    <string name="proximity_sensor_secondary_type" translatable="false">com.google.sensor.binned_brightness</string>
    <string name="proximity_sensor_secondary_type" translatable="false">android.sensor.proximity</string>
    <item name="proximity_sensor_secondary_threshold" translatable="false" format="float"
          type="dimen">1</item>
          type="dimen">5</item>

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


    <!-- Doze: only register sensors that use prox when device is in certain Display states. This
     may delay registering sensors when device first shows dozing UI but the
     Display & Power state hasn't changed to low-power mode yet. -->