Recorder: Set result and pass last recorded URI
* Apps starting the recorder with https://developer.android.com/reference/android/provider/MediaStore.Audio.Media#RECORD_SOUND_ACTION expect a proper output, which is a) a RESULT_OK in case the user successfully recorded something b) the uri of the recording so they can work with it (example: attach it to a mail) Tested: - Start Recorder with startActivityForResult (worked before) - Record audio, press back: Got a proper result and uri - Start again, don't record, go back: no RESULT_OK, no URI - Start again, record, go to last recordings and delete it, then go back: no RESULT_OK, no URI - Start again, record, delete recording from share notification: no RESULT_OK, no URI Fixes: https://gitlab.com/LineageOS/issues/android/-/issues/3039 Change-Id: I20493e067cecd3631b301ec48783670681d5fcc2
Loading
Please register or sign in to comment