Re-arm BLTime on keypress in overlay apps

This commit is contained in:
Armel FAUVEAU committed 2026-09-03 22:27:17 +02:00
1 parent a41fb99862
commit 07226822cd
1 file changed
+6 -1
+6 -1
View File
@@ -97,8 +97,13 @@ static uint8_t app_get_key(void)
return APP_KEY_INVALID;
}
if (!APP_IsScreenSaverDisplayed())
if (!APP_IsScreenSaverDisplayed()) {
if (key != KEY_INVALID)
BACKLIGHT_TurnOn(); /* re-arm BLTime on activity, mirrors ProcessKey():
overlay apps bypass the resident key handler, so
the saver would otherwise fire mid-use. */
return (uint8_t)key;
}
if (key == KEY_INVALID)
return APP_KEY_SAVER;