Commit Graph
4 Commits
Author SHA1 Message Date
A-nony-mous c2d46327a2 fix(notifications): rebind the listener after a disconnect
Android can drop a NotificationListenerService binding without warning and does
not restore it on its own. onListenerDisconnected only cleared activeService, so
later reads took the null branch and answered "[]" without logging: the app
showed an empty list while the phone had dozens of notifications posted.

Ask for the binding back with requestRebind, backing off 1s -> 32s, since a
refused rebind re-enters onListenerDisconnected. Also log the null-service read.
2026-10-24 06:51:36 +08:00
A-nony-mous 8bfd613196 fix(notifications): keep the colors that carry a small icon's shape
Apps that ship a filled colour bitmap as their small icon (QQ, WeChat, DiDi)
reached the glasses as a flat block: tinting every small icon white keeps the
alpha and drops the colours that carried the shape. System icons are unaffected,
since their alpha is cut out.

Classify from the rendered pixels instead: hue means colour artwork and keeps
its colours; a colourless icon is a template only when its alpha is cut out.
Template icons render exactly as before.

The debug-icon dump now writes in debug builds only and sweeps once per process.
2026-10-24 06:51:29 +08:00
A-nony-mous a32ffdc80f fix(build): run the NDK clang wrapper through .cmd on Windows
The extensionless wrapper is a Unix shell script; CreateProcess rejects
it with error 193. llvm-strip likewise needs .exe there.
2026-10-24 00:22:59 +08:00
A-nony-mous ae7fdef734 fix(build): make the Kotlin build work on Windows
Node cannot hand gradlew.bat to CreateProcess (EINVAL); run the wrapper
through a shell there. Two tests also assumed a POSIX checkout's
trailing newline and path separators.
2026-10-24 00:22:59 +08:00