Closed
Bug 1158084
Opened 11 years ago
Closed 11 years ago
[Nexus 5][Camera] The Camera's flashlight will flash for a monment in card view.
Categories
(Firefox OS Graveyard :: Gaia::Camera, defect)
Tracking
(b2g-v2.2 affected, b2g-master affected)
RESOLVED
INVALID
People
(Reporter: wangxin, Unassigned)
Details
(Whiteboard: [v2.2-nexus-5-l])
Attachments
(2 files)
[1.Description]:
[Nexus 5][v2.2&v3.0][Camera]Enable flashlight in Camera, and complete a focus. Then enter taks manager, and tap "Camera" in card view. The flashlight will flash for a monment.
Found Time:04:59
See log: "logcat_0459.txt"
See video: "0459.mp4"
[2.Testing Steps]:
1.Launch "Camera"
2.Enable flash on.
3.Tap lightly on the view finder
4. After focused, long press "Home" key
5.Tap on the "Camera " in card view
[3.Expected Result]:
5.The fllashlight should not flash for a monment
[4.Actual Result]:
5.The flashlight will flash for a monment
[5.Reproduction build]:
N5 v2.2 build(Affected):
Build ID 20150423002502
Gaia Revision b838d0e7c163e66660dcb6e387d8339944a7a30e
Gaia Date 2015-04-23 02:32:46
Gecko Revision https://hg.mozilla.org/releases/mozilla-b2g37_v2_2/rev/8dce56574f28
Gecko Version 37.0
Device Name hammerhead
Firmware(Release) 5.1
Firmware(Incremental) eng.cltbld.20150423.035409
Firmware Date Thu Apr 23 03:54:27 EDT 2015
Bootloader HHZ12f
Nexus_5 3.0 build(Affected):
Build ID 20150423160207
Gaia Revision 0c5e2ee1173f3c53379ef3cd10de714836258fe8
Gaia Date 2015-04-23 16:10:10
Gecko Revision https://hg.mozilla.org/mozilla-central/rev/22a157f7feb7
Gecko Version 40.0a1
Device Name hammerhead
Firmware(Release) 5.1
Firmware(Incremental) eng.cltbld.20150423.192918
Firmware Date Thu Apr 23 19:29:36 EDT 2015
Bootloader HHZ12f
FLame 2.2(Unaffected):
Build ID 20150423002502
Gaia Revision b838d0e7c163e66660dcb6e387d8339944a7a30e
Gaia Date 2015-04-23 02:32:46
Gecko Revision https://hg.mozilla.org/releases/mozilla-b2g37_v2_2/rev/8dce56574f28
Gecko Version 37.0
Device Name flame
Firmware(Release) 4.4.2
Firmware(Incremental) eng.cltbld.20150423.035703
Firmware Date Thu Apr 23 03:57:16 EDT 2015
Bootloader L1TC000118D0
Flame 3.0(Unaffected):
Build ID 20150423160207
Gaia Revision 0c5e2ee1173f3c53379ef3cd10de714836258fe8
Gaia Date 2015-04-23 16:10:10
Gecko Revision https://hg.mozilla.org/mozilla-central/rev/22a157f7feb7
Gecko Version 40.0a1
Device Name flame
Firmware(Release) 4.4.2
Firmware(Incremental) eng.cltbld.20150423.193607
Firmware Date Thu Apr 23 19:36:18 EDT 2015
Bootloader L1TC000118D0
[6.Reproduction Frequency]:
occasionally Recurrence,8/10
[7.TCID]:
Free Test
status-b2g-v2.2:
--- → affected
status-b2g-master:
--- → affected
Comment 2•11 years ago
|
||
I also found that when the flash turn on, the focusing would trigger the flash light.
The flash light would flash at below step 3 and step 4.
* My STR:
1.Launch "Camera"
2.Enable flash on.
3.Tap lightly on the view finder to trigger focusing
4.After focused, long press "Home" key to trigger Card View
Hayden, could you take a look?
Flags: needinfo?(hahuang)
Comment 3•11 years ago
|
||
with some investigation, I found that flash light is controlled by device specific library. We only set flash light mode and rely on device to do the rest (to actually turn on/off the light). In this case, it is the behaviour of nexus-5 driver, which I can see the same behaviour on Android 5.1 too. There is a timing gap in nexus-5 driver that if you quickly close camera app after flash, it will flash again.
Flags: needinfo?(hahuang)
Comment 4•11 years ago
|
||
I tried Nexus 5 with Android 5.1 and got the same behavior at comment 3.
Close this bug as an invalid one.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•