mirror of
https://github.com/screentinker/screentinker.git
synced 2026-08-14 06:16:20 -06:00
The widget-refresh fix did not work, and only the emulator showed it. widget_rev reached the device correctly and the render URL was built from it correctly, but the controller de-duped the update before any of that mattered: sig() keys on content/widget IDENTITY, and a widget's identity does not change when it is edited. The payload was byte-identical, the update was discarded, the old items were kept — including the old rev — so the URL never changed and the WebView reuse held. Measured: the player sat on rev=1785459552 for three full cycles after an edit, logging "Widget already showing, not reloading" each time. Adding widgetRev to the signature is the same move already made for muted (#129), schedules (#74/#75) and transitions — all cases where an edit changes playback without changing identity. Re-verified on the emulator, app left running: edited -> "Showing widget: ...&rev=1785459720" (reload, new rev, no restart) unedited -> 3 x "already showing", 0 reloads over 45s, so the anti-flash reuse is intact Worth recording: the code read correct on all three previous passes. Only running it exposed this. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Uaeo9MvzKoyXuN6ZsbhtkL |
||
|---|---|---|
| .. | ||
| app | ||
| gradle/wrapper | ||
| build.gradle.kts | ||
| gradle.properties | ||
| gradlew | ||
| gradlew.bat | ||
| settings.gradle.kts | ||