๐งช LeanType 4.2.7 Beta (Build 3)
Note
This is the third pre-release testing build for LeanType 4.2.7. Please test and report any issues or feedback on GitHub Issues.
โจ Added
- SMS OTP Auto-Detection: Support for WebOTP (
@domain #code), hashtag formats (#code), multi-digit carrier phrasing, and case-insensitive keyword boundaries. - Active Notification Scan: Automatically scans existing active status bar notifications on startup or connection for incoming OTPs.
- Proportional Popup Offset: Popup key vertical offset is now calculated proportionally to keyboard height (0% to 8%, default 4%).
- Unified Download Progress: Added real-time percentage tracking and
LinearProgressIndicatoracross dictionary downloads, plugins, libraries, models, and sound packs. - Dynamic Service Lifecycle: Disables and unbinds notification listener component dynamically when auto-read OTP is toggled off, ensuring zero battery drain.
๐ Fixed
- Duplicate OTP Toggles & Permission Prompt: Removed redundant OTP toggle in settings; fixed notification access permission request and direct settings navigation.
- OTP Suggestion Strip Wipes: Prevented initial recorrection (
INPUT_STYLE_RECORRECTION) and empty clipboard evaluation from clearing external OTP suggestions. - Resource & Descriptor Leaks: Fixed
ParcelFileDescriptorleak in voice dictation bridge and wrapped file streams/ContentResolver queries inuseblocks. - IME Lifecycle & Scope Teardown: Hardened teardown with proper coroutine cancellation and safe cursor extraction in dictionary facilitator and clipboard history.
๐ Changes
- Default SMS App Focus: Restricted OTP notification listener strictly to the system Default SMS app.
- Key Preview Animations: Stabilized preview popups with cubic bezier
PathInterpolatorcurves (0.1, 0.9, 0.2, 1.0), 6% vertical travel, and 55ms dismissal. - Long-Press Popup Motion: Replaced
OvershootInterpolatorwith smooth deceleration and tightened initial scale to 0.84 to eliminate wobble. - Toolbar & Mode Transitions: Smoothed entrance and exit animations for toolbar strip, suggestions, pinned keys, emoji palettes, clipboard, and touchpad.
- Settings Naming: Renamed "Animation speed" to "Animation scale" in Appearance settings to match Android system conventions.
- Haptics Performance: Cached vibrator primitive support queries to avoid redundant HAL roundtrips.
- Binary & Asset Optimization: Converted launcher foreground raster icon to lossless WebP and enabled dead code section stripping (
--gc-sections) with hidden symbol visibility in native C++ libraries.
๐๏ธ Removed
- Redundant SMS App Settings: Removed "Allowed SMS app" dropdown preference and fallback allowlists in favor of automatic default SMS app detection.
๐ฆ Beta Build Artifacts
| File | Flavor | Description | Size |
|---|---|---|---|
1-LeanType_4.2.7-standard-release.apk
| Standard | Full features & online/offline AI voice | 11.0 MB |
2-LeanType_4.2.7-offline-release.apk
| Offline | Fully air-gapped (zero internet permission) | 10.5 MB |