Repository navigation
v1.4.1
ScreenX Release Notes - v1.4.1
π What's New & Enhancements
- π¨ Native Mipmap App Icon on Home Screen
- Integrated the official app launcher icon (
R.mipmap.ic_launcher) alongside the "ScreenX" title on the Home Screen across both portrait and landscape headers with smooth rounded squircle styling.
- Integrated the official app launcher icon (
π Bug Fixes & Stability Improvements (Comprehensive Audit)
-
β±οΈ Countdown Overlay Timer Correction:
- Fixed countdown timer starting at 3 but decrementing before rendering, which previously showed only ~2 seconds of visible countdown and fired 1 second early. Now cleanly counts 3 β 2 β 1 for the full 3 seconds before recording begins.
-
π‘οΈ Android 14+ Foreground Service Stability:
- Guarded
startRecordingSequencewith foreground service check (!isForeground) to eliminateForegroundServiceTypeNotAllowedException/ crash when switching from floating control overlay to active recording. - Modernized display metrics to use
WindowManager.currentWindowMetrics.boundsanddensityDpion Android 11+ (API 30+), eliminating deprecated API usages.
- Guarded
-
π¬ MediaMuxer Corrupt Output Prevention:
- Added safety checks in
mergeVideoAndAudioto cleanly invokemuxer.stop()beforerelease()if muxer was started, preventing corrupted MP4 files and native crashes during error states.
- Added safety checks in
-
βοΈ Video Trimmer Segment Preservation:
- Fixed segment loss in
cutMiddleon OEM filesystems whererenameTo()could cause intermediate clips to be erroneously deleted in thefinallycleanup block. Added fallback file copying and rename tracking. - Resolved timeline PTS measurement in
measureDurationby continuing scan past keyframes to accurately detect the true last frame PTS for smooth clip concatenation without audio/video overlap.
- Fixed segment loss in
-
π§Ή Memory Leak & Resource Cleanup:
- Screenshot processing now explicitly recycles intermediate ARGB bitmaps immediately after writing to MediaStore, freeing up ~10MB of heap per screenshot.
- Attached
SupervisorJobtoFloatingControlOverlaycoroutine scope with clean cancellation on overlay dismiss, preventing background coroutine leaks. - Guarded
stopForeground()inexitService()to only fire when the service is actively in foreground mode.
-
π Scoped Storage & Security Enhancements:
- Fixed
IllegalArgumentExceptionon devices whereDATAandRESOLUTIONMediaStore columns return-1index by using safe column checks inVideoHelper. - Restricted
RECORDING_SAVEDbroadcast inAdbRecordServiceusing explicit package targeting (setPackage(packageName)), preventing broadcast leaks on Android 13+. - Upgraded ADB X.509 certificate serial number generator to use
SecureRandomin compliance with RFC 5280. - Corrected
isMicMutedUI state in floating controls to directly track service status rather than optimistic flips.
- Fixed
π¦ Artifact Details
- File:
app-release.apk - Version:
v1.4.1(Build6) - Package:
com.gxdevs.screenx - Target SDK:
37(Android 15 ready) - Min SDK:
26(Android 8.0+)