I'd like to avoid using the proximity sensor for anything in here, as that might easily cause us a bunch of bad side effects (as anything on top of the sensor would trigger this use case, not only inside the pocket).
So I'd like to push for the swipe gesture instead, and if indeed not possible, we can try hacking powerd to not turn on the screen in some special cases.
I'd like to avoid using the proximity sensor for anything in here, as that might easily cause us a bunch of bad side effects (as anything on top of the sensor would trigger this use case, not only inside the pocket).
So I'd like to push for the swipe gesture instead, and if indeed not possible, we can try hacking powerd to not turn on the screen in some special cases.