Skip to content

Commit

Permalink
chiron: Add noneui sensors prop and config_proximityCheckTimeout overlay
Browse files Browse the repository at this point in the history
Change-Id: I732c6f2cd1b463d985a466febc91844253933cce
  • Loading branch information
Huexxx authored and BYZYB committed Oct 29, 2022
1 parent 68fec66 commit 16d00c5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion overlay/lineage-sdk/lineage/res/res/values/config.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- Default value for proximity check on screen wake NOTE ! - Enable for devices that have a fast response proximity sensor (ideally < 300ms)-->
<!-- Default value for proximity check on screen wake NOTE ! - Enable for devices that have a fast response proximity sensor (ideally < 300ms) -->
<bool name="config_proximityCheckOnWake">true</bool>
<integer name="config_proximityCheckTimeout">500</integer>
<bool name="config_proximityCheckOnWakeEnabledByDefault">true</bool>
<!-- Display mode remapping table. If the mode names returned by the backend do not match the predefined and translated strings in the Settings app, they can be remapped here. The format is "oldname:newname", one per entry. -->
<string-array name="config_displayModeMappings" translatable="false">
Expand Down
1 change: 1 addition & 0 deletions vendor_prop.mk
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@ PRODUCT_PROPERTY_OVERRIDES += \
ro.vendor.sensors.iod=false \
ro.vendor.sensors.mot_detect=true \
ro.vendor.sensors.multishake=true \
ro.vendor.sensors.noneui=true \
ro.vendor.sensors.pmd=false \
ro.vendor.sensors.pug=true \
ro.vendor.sensors.spg=false \
Expand Down

0 comments on commit 16d00c5

Please sign in to comment.