mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-07-19 09:25:02 +00:00
Multi-review follow-up to the #8243 chronometer change: - Write the wall-clock anchor before the accumulated/remaining value in both services so a torn @Volatile read from the JS bridge thread under-reports (caught by the keep-app-value recovery path) instead of double-counting the since-last-anchor gap, which can be hours now that nothing re-anchors per second. - Correct the completion-runnable comment (re-arm guards backward clock changes; Doze always fires with wall-clock remaining <= 0) and the liveRemainingMs() KDoc that referenced the removed 1s tick. - Update hasFocusNotificationStateChanged docs: the old rationale (native ticks every second) is gone; weakening the 5s gate would reintroduce per-push startForeground work. Cross-reference the two 5000ms thresholds. - Use named args for the buildNotification boolean trio; drop a spec test duplicated by the direct helper tests. |
||
|---|---|---|
| .. | ||
| src | ||
| .gitignore | ||
| app_config.properties | ||
| build.gradle | ||
| capacitor.build.gradle | ||
| config.gradle | ||
| google.properties | ||
| proguard-rules.pro | ||