You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fw/services/touch: let system subscriptions opt out of backlight override
touch_has_app_subscribers() derived its answer from the total subscriber
count minus the backlight subscription, which was written when the
backlight was the only kernel-side subscriber. The watchface long-press
hook added a second permanent subscription, making the function always
return true: the event loop then lit the backlight on every touchdown
and skipped the wake-gesture preference, so a single touch woke the
screen even with touch-to-wake set to double tap.
Add touch_set_system_subscribed() so system-internal subscriptions can
explicitly exclude themselves, and mark the watchface long-press hook
with it. Third-party app subscriptions keep the touchdown-driven
backlight behavior unchanged.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Signed-off-by: Eric Migicovsky <ericmigi@gmail.com>
0 commit comments