u-s-c change available in silo 30
based on conversation with alf, this bug won't be closed based on the u-s-c changes alone.
We need components to employ this change in order to get the benefit
excerpt from alf mail
What's missing
--------------
* Other components that emit notifications and turn the screen on need
to use reason 'notification' (integer value 4) to take advantage of
the reduced timeout and proximity behavior.
* Phone calls display an accept/reject prompt, but proximity is not
enabled for this prompt, so one could inadvertently reply to a phone
call (although it requires a slide gesture, which makes it more
difficult). I have an MP [1] that tries to improve this in powerd,
but has a few drawbacks:
- If the proximity sensor is covered when a phone call is received,
the screen turns on momentarily before turning off again.
- If the screen is already on, proximity is still enabled.
For SMS messages we avoid these issues by handling everything inside
USC. We could go the same way here by introducing a new reason 'call'
for turning the screen on. I would recommend against this though,
since we would be adding even more complexity and inelegance to a
system that's already broken design-wise.
u-s-c change available in silo 30
based on conversation with alf, this bug won't be closed based on the u-s-c changes alone.
We need components to employ this change in order to get the benefit
excerpt from alf mail
What's missing
--------------
* Other components that emit notifications and turn the screen on need
to use reason 'notification' (integer value 4) to take advantage of
the reduced timeout and proximity behavior.
* Phone calls display an accept/reject prompt, but proximity is not
enabled for this prompt, so one could inadvertently reply to a phone
call (although it requires a slide gesture, which makes it more
difficult). I have an MP [1] that tries to improve this in powerd,
but has a few drawbacks:
- If the proximity sensor is covered when a phone call is received,
the screen turns on momentarily before turning off again.
- If the screen is already on, proximity is still enabled.
For SMS messages we avoid these issues by handling everything inside
USC. We could go the same way here by introducing a new reason 'call'
for turning the screen on. I would recommend against this though,
since we would be adding even more complexity and inelegance to a
system that's already broken design-wise.