Closed Bug 1159172 Opened 9 years ago Closed 6 years ago

[Camera]The device prompts "Camera Unavailable" when you switch to Camera app.

Categories

(Firefox OS Graveyard :: Gaia::Camera, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(tracking-b2g:backlog, b2g-v2.2 affected, b2g-master affected)

RESOLVED WONTFIX
tracking-b2g backlog
Tracking Status
b2g-v2.2 --- affected
b2g-master --- affected

People

(Reporter: liuke, Unassigned)

References

Details

(Whiteboard: [v2.2-nexus-5-l])

Attachments

(2 files)

Attached file logcat_1530.txt
[1.Description]:
[Flame v2.2 & v3.0][Nexus 5 v2.2 & v3.0][Camera]The device prompts "Camera Unavailable" when you switch to Camera app.
Found time:15:30
See attachment: 1530.mp4 and logcat_1530.txt

[2.Testing Steps]: 
1.Launch Camera.
2.Press Home key to back Home.
3.Launch Contacts.
4.Tap "+" to create new contact.
5.Tap add pircture icon -> "Camera".
6.Slide screen from left to right to enter Camera app.
7.Slide screen from right to left to back Contacts.

[3.Expected Result]: 
6.The camera should be launched normally.
7.The Notification bar should not be displayed in this view.

[4.Actual Result]: 
6.The device will prompt "Camera Unavailable".
7.The page will display Notification bar.

[5.Reproduction build]: 
Flame 2.2 version(Affected):
Build ID               20150427002504
Gaia Revision          265ca0bc9408c21fc4b25a259fcee7fb642cd06b
Gaia Date              2015-04-24 19:13:28
Gecko Revision         https://hg.mozilla.org/releases/mozilla-b2g37_v2_2/rev/1908685d798d
Gecko Version          37.0
Device Name            flame
Firmware(Release)      4.4.2
Firmware(Incremental)  eng.cltbld.20150427.040113
Firmware Date          Mon Apr 27 04:01:24 EDT 2015
Bootloader             L1TC000118D0

Device: Flame 3.0 version(Affected):
Build ID               20150427160201
Gaia Revision          0636405f0844bf32451a375b2d61a2b16fe33348
Gaia Date              2015-04-27 16:42:28
Gecko Revision         https://hg.mozilla.org/mozilla-central/rev/caf25344f73e
Gecko Version          40.0a1
Device Name            flame
Firmware(Release)      4.4.2
Firmware(Incremental)  eng.cltbld.20150427.192938
Firmware Date          Mon Apr 27 19:29:49 EDT 2015
Bootloader             L1TC000118D0

Device: Nexus 5_2.2 version(Affected):
Build ID               20150427002504
Gaia Revision          265ca0bc9408c21fc4b25a259fcee7fb642cd06b
Gaia Date              2015-04-24 19:13:28
Gecko Revision         https://hg.mozilla.org/releases/mozilla-b2g37_v2_2/rev/1908685d798d
Gecko Version          37.0
Device Name            hammerhead
Firmware(Release)      5.1
Firmware(Incremental)  eng.cltbld.20150427.035747
Firmware Date          Mon Apr 27 03:58:04 EDT 2015
Bootloader             HHZ12f

Device: Nexus 5_3.0 version(Affected):
Build ID               20150427160201
Gaia Revision          0636405f0844bf32451a375b2d61a2b16fe33348
Gaia Date              2015-04-27 16:42:28
Gecko Revision         https://hg.mozilla.org/mozilla-central/rev/caf25344f73e
Gecko Version          40.0a1
Device Name            hammerhead
Firmware(Release)      5.1
Firmware(Incremental)  eng.cltbld.20150427.192534
Firmware Date          Mon Apr 27 19:25:51 EDT 2015
Bootloader             HHZ12f

[6.Reproduction Frequency]: 
Always Recurrence,5/5

[7.TCID]: 
Free Test

[8.Note]:
If you use long press Home key to switch, the camera use normally.
Attached video 1530.MP4
I can't comment on the notification bar (didn't happen for me) but the camera unavailable error is a race condition between the contacts application releasing the camera when switched out and the camera app acquiring when switched in. That should be resolved by bug 1073017.
Depends on: camera-parent
[Tracking Requested - why for this release]:

Waiting for the fix of Bug 1073017
Firefox OS is not being worked on
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: