Zenith
Zenith copied to clipboard
Make foreground notification status configurable
Summary
- add a configurable foreground notification status mode: daily usage, active focus counts, or the existing default text
- add a Features settings control for choosing the status notification mode
- refresh the foreground service notification when preferences or focus rules change, with throttled usage updates
- add unit coverage for the notification status formatter
Verification
ANDROID_HOME=C:\Users\zahed\AppData\Local\Android\Sdk ./gradlew :app:testFullDebugUnitTest --no-daemonANDROID_HOME=C:\Users\zahed\AppData\Local\Android\Sdk ./gradlew :app:assembleFullDebug --no-daemon- Installed and launched a side-by-side debug APK on a connected Samsung SM-S928B as
com.etrisad.zenith.debugto avoid wiping the existing release-signed app data.
Addressed the requested changes in 9796b3b: moved the status notification UI into its own Status Notifications category and changed both new-user fallback defaults to DEFAULT.
Verification: ./gradlew.bat --console=plain :app:testFullDebugUnitTest passed.
Thanks for the fix. I'll merge it when the code optimization is lighter.