Repository navigation
v2.4.3 — Fix screen-lock re-permission prompt
Fix the most annoying UX issue: every screen lock used to force re-granting screen recording permission. After this update you grant it once per app run — locking/unlocking the phone no longer re-prompts.
What changed
CaptureRepository.kt had a 3-second inactivity Runnable that nulled the MediaProjection token when the screen turned off, tearing down the projection. On Android 14+ the token is single-use, so the next translate tap had no choice but to ask the user for permission again.
The fix removes that destructive timeout. OverlayService is already a START_STICKY foreground service with foregroundServiceType=mediaProjection, so the projection happily survives lock/unlock as long as we don't kill it ourselves. See commit 99fea3d for the diff.
You will still need to re-grant permission if you:
- Hit "Stop sharing" in the system notification
- Exit the app from its notification action
- Reboot the phone
Install
- Download
screen-trans-v2.4.3-debug.apkbelow (152 MB), or pull from/sdcard/Download/on the build device. - Installs as an update over v2.4.2 — your settings and data are preserved (same package, same debug signing key,
versionCodebumped 20402 → 20403).
Build info
applicationId:com.galaxy.airviewdictionaryversionCode/versionName:20403/2.4.3- Debug-keystore signed (not Play-Store ready); uses Google's official test AdMob App ID.
🤖 Generated with Claude Code