restoreFilePaths
Restores pictureFile and videoFile from previously persisted absolute paths.
After process death the in-memory file references are lost, so the pending ActivityResultContract callback would be unable to locate the captured media. Call this method before the result is dispatched (e.g. in onCreate) to reconstruct the destination files so that parseResult can return the correct file.
Passing null for either parameter leaves the corresponding file reference unchanged.
Parameters
picturePath
Absolute path of the photo destination file, or null.
videoPath
Absolute path of the video destination file, or null.