Closed Bug 1410975 Opened 6 years ago Closed 6 years ago

File picker doesn't support directly recording audio

Categories

(Firefox for Android Graveyard :: General, enhancement)

All
Android
enhancement
Not set
normal

Tracking

(firefox58 fixed)

RESOLVED FIXED
Firefox 58
Tracking Status
firefox58 --- fixed

People

(Reporter: JanH, Assigned: JanH)

References

Details

Attachments

(1 file)

We request the necessary permission, but then don't do anything with it anyway (https://dxr.mozilla.org/mozilla-central/rev/ce1a86d3b4db161c95d1147676bbed839d7a4732/mobile/android/base/java/org/mozilla/gecko/FilePicker.java#146).

We should either implement that as well, or else drop the permission prompt for audio again.
I initially had troubles finding an app that supported that intent at all, but it seems like https://play.google.com/store/apps/details?id=com.sonymobile.androidapp.audiorecorder does the trick for testing.
Assignee: nobody → jh+bugzilla
And unlike the Image/Video capture intents, merely calling out to an app that supports MediaStore.Audio.Media.RECORD_SOUND_ACTION *doesn't* require Audio permissions.
Not absolutely dependant, but the precise patch will need adapting depending on which version of that bug is going to land.
Depends on: 1362919
Comment on attachment 8921403 [details]
Bug 1410975 - Support recording audio via supported app from the file picker.

https://reviewboard.mozilla.org/r/192198/#review197694
Attachment #8921403 - Flags: review?(cnevinchen) → review+
Pushed by mozilla@buttercookie.de:
https://hg.mozilla.org/integration/autoland/rev/d5ba7b6469c7
Support recording audio via supported app from the file picker. r=nechen
https://hg.mozilla.org/mozilla-central/rev/d5ba7b6469c7
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 58
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.