Fix Android Studio lint errors in AudioRecordingController.kt
#17195
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Purpose / Description
There were 2 Android Lint errors and 1 warning in
AudioRecordingController.kt
that are fixed in this PR.Fixes
Approach
I just picked the first errors after a code inspection and fixed the warning in the file too.
How Has This Been Tested?
No testing is necessary for the changes to parameter ordering.
I added the exception parameter to the one
Timber.d
call where it was missing. I believe this call will be a no-op for non-debug builds.Checklist
Please, go through these checks before submitting the PR.
You have commented your code, particularly in hard-to-understand areasUI changes: include screenshots of all affected screens (in particular showing any new or changed strings)UI Changes: You have tested your change using the Google Accessibility Scanner