Skip to content

v1.0.7

Choose a tag to compare

@github-actions github-actions released this 22 Oct 12:26
· 215 commits to main since this release

v1.0.7(versionCode 8)— 体验感增强

新增功能

  • 下拉磁贴一键开关:新增 Quick Settings 磁贴「时间显秒」,下拉通知栏即可一键切换显秒,无需打开设置页。
  • 浮窗位置与尺寸记忆:浮窗关闭时记住其位置与尺寸,下次长按按记忆恢复。
  • 浮窗日期显示:浮窗底部新增日期行(跟随系统语言)。
  • 浮窗双击切换显秒:在浮窗时间上双击,可像点击状态栏时钟一样切换显秒开关。
  • 省电模式自适应:系统开启省电模式时自动暂停秒级刷新,退出省电立即恢复。
  • 时钟识别可配置:设置页新增「状态栏时钟识别名」,其它厂商机型若未能被内置规则自动识别,可手动填写资源名。
  • 模块自保护:hook 在短时间窗口内异常次数超过阈值时自动停用本模块逻辑,避免把 SystemUI 反复拖崩、触发 LSPosed 安全模式;恢复只需重启 SystemUI。

修复

  • 修复快速连点时误弹浮窗(区分多指 POINTER_UP 与标准 UP)。

其它

  • README 21 语言同步更新。
  • 新增 GitHub Actions CI:lint + 单元测试 + 多语言一致性校验。
  • 新增单元测试(手势归一化、秒数补零后缀、小时十位检测)。

v1.0.7 (versionCode 8) — Experience & Robustness

New Features

  • Quick Settings Tile: Toggle seconds display directly from the QS panel without opening the app.
  • Floating Window Memory: Position and size of the floating window are remembered across sessions.
  • Floating Window Date: A date line is added at the bottom of the floating window.
  • Double-Tap Floating Window: Double-tap the floating window to toggle seconds display.
  • Power-Save Adaptive: Automatically pauses second-level refresh when battery saver is on.
  • Configurable Clock ID: Manually specify the status bar clock resource name for unsupported devices.
  • Self-Protection: Automatically disables module logic if hooks crash repeatedly within a short window, preventing SystemUI boot loops.

Fixes

  • Fixed accidental floating window popup during rapid consecutive taps.

Other

  • README updated in 21 languages.
  • Added GitHub Actions CI: lint, unit tests, and i18n consistency check.
  • Added unit tests for gesture normalization, zero-padding suffix, and hour-tens detection.

Full Changelog: https://github.com/kelebao/ClockSeconds/blob/main/CHANGELOG.md