Make it possible to disable proximity sensor during calls

There are phones out there with broken proximity sensors that always
report near, which causes every dialer app to turn off the screen
unconditionally during calls. As an owner of such a phone, this has been
driving me crazy.

This commit adds a new setting to disable the proximity sensor. By
default, this is turned off, preserving the current behaviour.
This commit is contained in:
Quantum
2021-09-22 18:25:47 -04:00
parent 8113972a19
commit f02f0b2e99
26 changed files with 59 additions and 1 deletions

View File

@@ -41,6 +41,7 @@
<!-- Settings -->
<string name="group_subsequent_calls">Raggruppa chiamate successive con lo stesso numero nel registro delle chiamate</string>
<string name="open_dialpad_by_default">Open the dialpad by default when the app opens</string>
<string name="disable_proximity_sensor">Disable proximity sensor during calls</string>
<!-- Strings displayed only on Google Playstore. Optional, but good to have -->
<!-- App title has to have less than 50 characters. If you cannot squeeze it, just remove a part of it -->