Wake word: what it tried and how it went is kept and shown; the screen comes on
CI / check (push) Canceled after 0s

The phrase was heard, LLeMbas was the assistant, and still only "Heard you.
Tap to ask." came: wake() reached the notification when the assistant
service was not connected or showSession threw, and kept neither reason.

- WakeAttempt: when, the phrase, the way tried (wakeWay: session, the
  sheet's activity through the assistant service when the screen is off,
  the activity while the app is on screen, a notification), the outcome
  (opened / not connected / refused with the exception / no sheet came),
  the fallback, whether the role was held, and when Android last connected
  and disconnected the service in this process. The last five live in the
  settings, are logged under LLeMbasWake, and are shown as "Last wake".
  An attempt that found the service not connected is told when a later
  onReady arrives.
- "Opened" is counted only once a sheet says it is up (AssistLink.shown,
  2.5 s); otherwise the fallback follows.
- Settings says when LLeMbas holds the role but the service is not
  connected, with the way to the system's assistant setting.
- The sheet opened by the wake word turns the screen on: setTurnScreenOn on
  the activity; with the screen off and the service connected the activity
  is started through the service instead of a session, whose window wakes
  nothing.
- The fallback notification says "Could not open by itself -- tap to ask"
  when LLeMbas is the assistant.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
HomerandClaude Fable 5.2 committed 2026-11-13 10:30:02 +00:00
1 parent 613eba4154
commit 80ba7f70b9
23 files changed
+818 -50

No files matched your search

+18
View File
@@ -503,6 +503,24 @@ STRINGS: dict[str, str] = {
"wake_heard_line": "LLeMbas can open by itself over other apps only as the phone's digital assistant app.",
"wake_not_assistant": "LLeMbas is not the digital assistant app",
"wake_not_assistant_line": "So the wake word cannot open the assistant over other apps: you get a notification to tap. To open by voice anywhere, tap here and choose LLeMbas as the digital assistant app.",
"wake_last": "Last wake",
"wake_last_none": "It has not heard the phrase yet.",
"wake_out_opened": "Opened the assistant.",
"wake_out_no_sheet": "Asked Android to open the assistant; it did not refuse, but no sheet came.",
"wake_out_not_connected": "Android had not connected LLeMbas as the assistant, so it could not open the sheet.",
"wake_out_refused": "Android refused to open the assistant: %1$s",
"wake_out_activity": "Opened it as a screen of the app instead.",
"wake_out_notification": "Posted a notification to tap instead.",
"wake_out_tested": "Heard in a test: nothing was to open.",
"wake_role_held": "LLeMbas was the digital assistant app.",
"wake_role_not_held": "LLeMbas was not the digital assistant app.",
"wake_link_never": "Android had not connected the assistant since the app started.",
"wake_link_ready": "Android had connected the assistant at %1$s.",
"wake_link_shutdown": "Android had disconnected it at %1$s.",
"wake_link_later": "Android connected it again at %1$s.",
"wake_assistant_unbound": "LLeMbas is the assistant, but Android has not connected it right now",
"wake_assistant_unbound_line": "Until it does, the wake word cannot open the sheet by itself. Tap for the system's assistant setting: choosing another app and then LLeMbas again connects it.",
"wake_heard_could_not": "Could not open by itself — tap to ask",
"wake_resume": "Listen for the wake word again",
"wake_resume_line": "The phone restarted. Tap to start listening again.",
"assist_notifications": "Summarise my notifications",