ClearPDF Local v1.6.2 — audit follow-up (stability fixes)
A self-audit (5-dimension code review + adversarial verification) found the feature set complete and the no-INTERNET brand build-enforced, with three confirmed medium bugs and minor cleanup. This release fixes them.
Fixed
- Stale-index race: reprocess ops (mode / dewarp / finger / glare) now re-resolve the page by a stable id before writing back, so deleting a page while another is processing can no longer change the wrong page or orphan a temp file.
- Cache orphaning:
addCapturedPhotodeletes its dewarp/processed cache files if the pipeline throws. - Camera guard:
takePictureis wrapped so an unbound/failed camera can't crash on a shutter tap or auto-capture tick. - Leaks:
DocumentScanProcessorreleases Mats via try/finally;SearchablePdfUseCasecloses itsPDDocumenton failure paths. - Cleanup: Settings shows the real version (was hardcoded
1.0.0); removed the AI-Studio templateGreetingcomposable + its screenshot test; cleaned the Gemini placeholder from.env.example.
Audited statically + JVM unit tests pass. The best-effort CV (finger/glare) and camera flow still want the batched real-device pass.
Install
Download ClearPDFLocal-v1.6.2-vc10.apk below (built & signed by CI). Requires Android 7.0 (API 24)+, arm64.