Use proximity sensor (OnePlus3)
- /e/ version: /e/OS 1.2-20220728206708 (Android 10)
- Device model(s): OnePlus3
Summary
When on call the phone does not lock the touch inputs when my face is close to the phone, and locked there is no "pocket" mode to prevent accidental unlock.
Description
What is the current behavior?
-
I get a call, answer it (while my phone is unlocked) and during the call I see the phone is starting some app and going in some menus.
-
On OxygenOS, they had a "pocket" mode where if the phone was lock and there is something detected by the proximity sensor, you have to touch 5 targets placed randomly to prove to the phone it was not just woke up by a double tap in the pocket. This let it go back in sleep/screenOff mode faster.
What is the improved behavior?
-
Lock the touchscreen while on call and proximity sensor see something.
-
Already described an example above. Maybe nothing is fine too, but the battery may be dried a bit faster.
What does it bring?
-
Don't do random thing when it's just my cheek.
-
Less battery drain.
Examples
Not destroy there parameter or send their last picture (a nude obviously) to their last contact (their Boss obviously).
Validation
Test 1.0) Start a call, and move the phone to your cheek (block the proximity sensor and try to use the touchscreen). => Nothing happen.
Test 1.1) Start a call, and do NOT move the phone to your cheek (do NOT block the proximity sensor and try to use the touchscreen). => You can use the phone as usual (see your contacts, messages, take notes...).
Test 2) (optional) Lock the screen and block the proximity sensor. Double tap it to wake the phone. => A kind of quick challenge should be seen for a handful of secs (30s?) and let see the usual lock screen if validated or turn off the screen again if not before the timeout.
Maybe you already have all/part of that and I should have opened a bug instead just to fix connectivity with the OP3 proximity sensor.
Checklist
- [ ] License
-
Translations -
Documentation -
Test plan