|
|
|
@ -46,8 +46,9 @@ class HandleFileActivity : |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private val selectDoc = registerForActivityResult(ActivityResultContracts.OpenDocument()) { |
|
|
|
|
it ?: return@registerForActivityResult |
|
|
|
|
it?.let { |
|
|
|
|
onResult(Intent().setData(it)) |
|
|
|
|
} ?: finish() |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
override fun onActivityCreated(savedInstanceState: Bundle?) { |
|
|
|
|