Skip to content

feat(android): add never-show overlay option - #1221

Merged
H-Chris233 merged 3 commits into
Open-Less:betafrom
HKLHaoBin:feat/issue-1218-android-disable-overlay
Oct 19, 2026
Merged

H-Chris233 merged 3 commits into
Open-Less:betafrom
HKLHaoBin:feat/issue-1218-android-disable-overlay

Conversation

@HKLHaoBin

Copy link
Copy Markdown
Collaborator

Summary

  • Add an Android overlay display option that prevents automatic overlay creation while keeping the keyboard available.
  • Enforce the never setting across overlay service entry points, delayed actions, service restarts, and runtime preference transitions.
  • Preserve legacy keyboard preference migration and add localized settings labels and coverage.

Fixes #1218

Validation

  • Frontend production build passed.
  • Frontend test suite passed, including the Android overlay trigger test.
  • Rust Android overlay tests passed.
  • Android APK and desktop artifacts were built successfully and manually self-tested.
  • Review Bugbot completed with no bugs found.

Build runs

🤖 Generated with Claude Code

HKLHaoBin and others added 3 commits October 16, 2026 23:09
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@H-Chris233
H-Chris233 merged commit bb5e088 into Open-Less:beta Oct 19, 2026
7 checks passed
aeoform added a commit to aeoform/openless that referenced this pull request Oct 19, 2026
并入 origin/beta 剩下的 10 个上游 commit(此前分支已合过前 4 个):

- Windows:TSF 组字听写输入(Open-Less#1189)、明文插入模式开关(Open-Less#1182)、
  胶囊显示目标模式(Open-Less#1232)
- Android:arm64 本地 ASR + 云回退/自动切换(Open-Less#1231)、本地配置迁移(Open-Less#1199)、
  草稿条(Open-Less#1187)、悬浮层「永不显示」(Open-Less#1221)、英文键盘上滑符号重排(Open-Less#1188)
- 发布:稳定版直链别名(Open-Less#1198)
- coding-agent:dsh 补丁 YAML 缩进修复(Open-Less#1205)

代码层面零冲突,但本仓较新的依赖版本让上游新代码编译不过,手工收口两处
(都只在 Android 本地迁移包路径上):

1. `zip` 9 vs 2.x —— `ZipFile::name()` 现在返回 `Result<Cow<str>, ZipError>`:
   `.map_err(|_| BundleError::MalformedContainer)?.into_owned()`。
2. `cipher` 0.5(`aes` 钉 0.9.2 带来的版本)把 `XNonce::from_slice` 标成
   deprecated:改用 `&[u8; NONCE_BYTES] -> &XNonce` 的转换。

验证:core 与 linux-egui 全量测试通过、clippy `-D warnings` 干净、egui 四个
JS 契约测试通过、i18n 0 added/0 updated、deb/rpm 打包 + 校验通过
(2.0.2-Beta.1-137)。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature][Android] 增加禁用悬浮窗选项,允许仅使用键盘输入

2 participants