Closed Bug 1058425 Opened 11 years ago Closed 11 years ago

[Devices][Storage] Internal storage becomes SD card storage after using camera taking few pictures

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(blocking-b2g:2.1+)

RESOLVED WORKSFORME
blocking-b2g 2.1+

People

(Reporter: ashiue, Assigned: iliu)

Details

Attachments

(1 file)

Device Flame / Helix Gaia 1934a2297ffc0d90424cd9cd3294c4a8c74a7333 Gecko https://hg.mozilla.org/mozilla-central/rev/18901d4f3edd BuildID 20140825160203 Version 34.0a1 No SD card inserted STR: 1. Go to Camera to take few pictures 2. Launch Settings, go to Media storage Expect result: List Internal storage info Actual result: Show "SD card storage" info
[Blocking Requested - why for this release]:
blocking-b2g: --- → 2.1?
QA Whiteboard: [COM=Storage]
blocking-b2g: 2.1? → 2.1+
Will take a look first since SD card management feature landed.
Assignee: nobody → iliu
(In reply to Ian Liu [:ianliu] from comment #2) > Will take a look first since SD card management feature landed. Any update on this? This seems to be causing Bug 1058016
I think the issue is relative with getDeviceStorages() API. I'm able to reproduce the issue while camera cannot take picture as Bug 1058016. After camera cannot take picture, we can see there is nothing return after called "navigator.getDeviceStorages('sdcard');"(https://github.com/mozilla-b2g/gaia/blob/master/apps/settings/js/panels/root/storage_usb_item.js#L256). So that the bug here is not causing Bug 1058016.
(In reply to Ian Liu [:ianliu] from comment #4) > I think the issue is relative with getDeviceStorages() API. I'm able to > reproduce the issue while camera cannot take picture as Bug 1058016. After > camera cannot take picture, we can see there is nothing return after called > "navigator.getDeviceStorages('sdcard');"(https://github.com/mozilla-b2g/gaia/ > blob/master/apps/settings/js/panels/root/storage_usb_item.js#L256). So that The above line will be executed while settings app is launching in root panel. > the bug here is not causing Bug 1058016. And I not able to reproduce the issue, while camera is still working fine.
I will keep to investigate for more information.
No longer blocks: 1058016
I'm not able to reproduce the issue on Flame with following build version. Gaia 8e02f689b0fc39cb6ccdc22d02ed7e219c58faa7 Gecko https://hg.mozilla.org/mozilla-central/rev/6b3948d3413a BuildID 20140909160207 Version 35.0a1 ro.build.date Tue Jun 10 19:40:40 CST 2014 ro.bootloader L1TC20011210 ro.build.version.incremental 108 I believe if the 'storage-state-change' event is working normally while taking picture, the issue should not be happened. Because there is no way to trigger to change default media location in the STR beside of taking picture.
I'm not able to reproduce the issue on Helix with following build version. Gaia 8e02f689b0fc39cb6ccdc22d02ed7e219c58faa7 Gecko https://hg.mozilla.org/mozilla-central/rev/6b3948d3413a BuildID 20140909160207 Version 35.0a1 ro.build.date Fri Feb 14 23:00:24 CST 2014 ro.bootloader unknown ro.build.version.incremental eng.root.20140214.225714 Will keep to observe the issue in these day. Looks like Gecko might fix somethings in these day.
I'm not able to reproduce the issue on Flame with following build version. Gaia 855be6ade407c26e0596e7306a44deebc3f60933 Gecko https://hg.mozilla.org/mozilla-central/rev/02c3915bf742 BuildID 20140915160203 Version 35.0a1 Device Name flame FW-Release 4.3 FW-Incremental 108 FW-Date Tue Jun 10 19:40:40 CST 2014 Please re-open the issue if we meet the issue again.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: