Most of the builtin apps had some padding between the window edge and
their content, because they expect to be displayed with a line border on
their edge. We added a customization option to remove the border, so,
that padding is not always necessary. Make the layouts dynamically
adjust, to omit the padding when it isn't needed.
Handle left/right swipes on the tab bar, not just up/down
Update All button on the Updates page main list
Scroll by pages rather than lines on the permissions list
How long a head-tilt showing may last when no head-down arrives: 60 s
(the default, as before), 30, 15, 10 s, or never (it then stays until the
head comes down or a double-tap). Where the head-down is unlikely, the tap
duration still applies when it is shorter.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- A verification read that still disagrees no longer requeues the writes at
once (which looped while the firmware refused the value); the next regular
poll retries.
- "Glasses default" now writes back the glasses' own switch and angle, saved
before Faceclaw first changed them (persisted across app restarts), and
drops writes still queued. Disabling the Glanceboard does the same.
- "Set to current head angle" takes two readings, head level then tilted up,
and uses the angle between them, so it no longer depends on the sensor's
axes or folds past 45°. A head that did not move is reported, not stored
as 5°. The math is in head-tilt-math.ts, with tests.
- A head-tilt that woke a suspended session, or a trigger under 25° (where a
level gaze stays above the head-down threshold), hides after the tap
duration instead of the 60 s cap. The setting's description explains it.
- The angle rows are hidden on iOS, which cannot change the setting.
- The capture row repaints while measuring, ignores repeat selects, and its
status clears when the menu reopens or the angle changes; the angle is
sent once, by the controller's settings listener.
- Comments describing a head-tilt as a timed press are updated.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Head tilt angle setting (Glanceboard): sets the glasses' own head-up
trigger through the stock settings message (g2_setting.proto
DeviceReceiveInfoFromAPP.deviceReceiveHeadUpSetting), so detection stays
on the glasses and nothing streams while the screen is off. The stored
calibration is read back and compensated for, and the value is
re-applied on every connect. "glasses" (the default) leaves the
glasses' setting untouched.
- "Set to current head angle" measures the tilt from a ~1.2 s IMU burst
and rounds it to the nearest 5 degrees.
- Glance down to hide: a head-tilt showing now stays up until the head comes back down
(HEAD_DOWN, forwarded by Faceclaw/38) instead of a fixed timeout, with
a 60 s safety cap. HEAD_DOWN goes only to the Glanceboard on Android
and iOS, so it never counts as shell activity.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The previous commit's comment and test said Android starts the app in the
background (a home-widget update, a notification-listener rebind) with
the glasses session running. A background start alone doesn't connect
the glasses; only the main page does. The state that breaks voice is
the Activity being destroyed afterwards: swiping the app away in Recents
destroys it while the foreground service keeps the process and session
running, and NativeScript then clears both foregroundActivity and
startActivity. On Android 12+ Back on the main page only moves the task
to the back, so the Activity survives it. Comment and test wording only.
ensurePermissions looked up the Activity before checking whether any
permission was missing, and getActivity() throws when there is none.
Android starts the app in the background with no Activity (a home-widget
update, a notification-listener rebind), and the glasses session runs
from there until the app is opened. So in that state every "Hey Even"
failed in ensureVoicePermissions even though the mic permission was
granted, and the voice dialog kept showing the idle "Voice control
stopped.". The same throw hit ensureBlePermissions.
The Activity is now only looked up when a permission actually has to be
requested. A capture that fails to start for any reason other than a
denied permission now says so in the dialog instead of leaving the idle
status up.