diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 06ccb48..1704f4b 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -68,8 +68,13 @@ + android:exported="true" + android:launchMode="singleTask"> + + + + + recordingSavedSuccessfully() } + ) { _, uri -> recordingSavedSuccessfully(uri) } } - private fun recordingSavedSuccessfully() { + private fun recordingSavedSuccessfully(savedUri: Uri) { toast(R.string.recording_saved_successfully) + EventBus.getDefault().post(Events.RecordingSaved(savedUri)) } private fun getDurationUpdateTask() = object : TimerTask() {