Closed Bug 690539 Opened 14 years ago Closed 6 years ago

Fennec should close the camera onPause

Categories

(Firefox for Android Graveyard :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: wesj, Unassigned)

Details

Attachments

(2 files)

Attached patch PatchSplinter Review
When we get sent into the background, or killed, or whatever, we should make sure to close any camera connections we have open. Not closing them means other apps can't use the camera. Still testing this patch before I put up for review.
This works for me. Should probably kill the picker when this happens as well. It would be nice to resume it. I don't know that there's huge expectation that file pickers stay open while you're in other apps on Android. But would probably be nice.
Attached patch WIP FixSplinter Review
Grr... The prettier solution here seems like it would be to just close the dialog when we go in the background. Except that on my phone, where camera doesn't work, this still doesn't close the camera. I thought perhaps nsDeviceChannel's destructor wasn't being called, but I don't see it called on my tablet either. Still digging a bit...
Closing all opened bug in a graveyard component
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: