Skip to content

v0.5.2

Choose a tag to compare

@GabryDX GabryDX released this 01 Oct 10:03
· 66 commits to main since this release
0cbc10d

🛡️ MetaJammer v0.5.2 — Hotfix for Android 14+ / GrapheneOS

Summary

MetaJammer v0.5.2 is a critical stability hotfix resolving an InvalidForegroundServiceTypeException crash encountered during batch metadata processing on Android 14+ (including GrapheneOS on Pixel devices).


🌟 Fixes & Improvements

1. Foreground Service Type Configuration (Android 14+ / targetSdk 37)

  • Declared Foreground Service Type: Configured androidx.work.impl.foreground.SystemForegroundService with android:foregroundServiceType="dataSync" in AndroidManifest.xml.
  • Added Permission: Declared <uses-permission android:name="android.permission.FOREGROUND_SERVICE_DATA_SYNC" />.
  • Updated Worker ForegroundInfo: Passed ServiceInfo.FOREGROUND_SERVICE_TYPE_DATA_SYNC to ForegroundInfo on API 29+ within MetadataProcessingWorker.kt.
  • Defensive Error Handling: Wrapped setForeground() in runCatching to prevent background restriction exceptions from crashing the application.

📦 Build Artifacts

  • Package: com.heronikostudios.metajammer
  • Version: 0.5.2 (Code 7)
  • Target SDK: 37 (Android 16) | Min SDK: 26 (Android 8.0)