You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
🛡️ Android 14+ MediaProjection Foreground Service Resolution
Resolved SecurityException: Media projections require a foreground service of type ServiceInfo.FOREGROUND_SERVICE_TYPE_MEDIA_PROJECTION:
Fixed an issue on Android 14+ (API 34+) where starting a screen recording from the floating control overlay (e.g., during gameplay such as PUBG Mobile Lite) failed to start and caused the app/overlay to abruptly terminate.
Corrected foreground service promotion in ScreenRecordService so that when recording is initiated, startForeground() is always called with FOREGROUND_SERVICE_TYPE_MEDIA_PROJECTION (simultaneously preserving FOREGROUND_SERVICE_TYPE_SPECIAL_USE for the floating overlay and FOREGROUND_SERVICE_TYPE_MICROPHONE when audio capture is active).
Added dual-tier fallback mechanisms to ensure graceful foreground service transitions across Android 10 through Android 15+.
Enhanced runtime stability so that games and full-screen applications can launch screen recordings directly from the floating ball without interrupting active foreground sessions or dropping overlay states.