sm7250-common: Define OnePlus infrared proximity sensor for pocket detection

OnePlus pocket sensor is broken on Android 11 custom ROMs.
Blinking dot can be seen on screen, but this is better than nothing.

Signed-off-by: baalajimaestro <me@baalajimaestro.me>
Change-Id: Ie6e8c8d025316a9e482ff840c857b64ff58377e7
This commit is contained in:
Hikari-no-Tenshi
2021-07-10 22:45:10 +03:00
committed by KakatkarAkshay
parent 0d195728de
commit 6345b24bfc

View File

@@ -72,7 +72,7 @@
<string name="config_oemFastChargerStatusPath" translatable="false">/sys/class/power_supply/battery/fastchg_status</string>
<!-- Defines custom Vendor sensor for pocket detection. -->
<string name="config_pocketJudgeVendorSensorName">oneplus.sensor.pocket</string>
<string name="config_pocketJudgeVendorProximitySensorName">oneplus.sensor.infrared.proximity</string>
<!-- Display has physical cutout -->
<bool name="config_physicalDisplayCutout">true</bool>