Merge branch 'main' into rayneo-io-support

This commit is contained in:
James Babcock committed 2026-11-03 14:06:19 -08:00
commit b2b6c5c8d8
36 files changed
+822 -39

No files matched your search

+8
View File
@@ -491,6 +491,14 @@ export type ShellChromeState = {
/** The Wear OS watch (app/g2/wear-remote.ts); null when no watch is reachable. */
watch: number | null;
watchCharging: boolean | null;
/**
* The glasses' charging case, last known (it only reports while the
* glasses are docked); null until it does. caseCharging is null while the
* glasses are out of the case, where they can't see whether it is on USB.
* Shown on the phone, not here.
*/
case: number | null;
caseCharging: boolean | null;
};
/** App-provided tray images, drawn between notification icons and batteries. */
trayIcons: ShellChromeTrayIcon[];
+1
View File
@@ -463,6 +463,7 @@ class Shell {
private lastInput: InputEvent | null = null;
private battery: ShellChromeState["battery"] = {
headset: null, headsetCharging: null, ring: null, ringCharging: null, watch: null, watchCharging: null,
case: null, caseCharging: null,
};
private readonly batteryListeners = new Set<() => void>();
private attention = new Map<string, boolean>();