Closed Bug 863207 Opened 11 years ago Closed 10 years ago

Multiple calls to DeviceStorageHelper.getFreeSpace() and DeviceStorageHelper.getStat() when opening the app

Categories

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

defect
Not set
normal

Tracking

(b2g18?)

RESOLVED DUPLICATE of bug 973452
Tracking Status
b2g18 ? ---

People

(Reporter: rik, Assigned: rik)

References

Details

We have two getStat() calls for apps and two getFreeSpace() calls for sdcard.

Also looks like we're doing more DOM manipulations than really needed for the first screen.
Assignee: nobody → anthony
tracking-b2g18: --- → ?
Whiteboard: u=fx-os-user c=may-6-17 p=0
Whiteboard: u=fx-os-user c=may-6-17 p=0 → u=fx-os-user c=may-6-17 p=1
With bug 856782 landed, we're not calling those as often as before. But I'm still seeing two calls to storage.freeSpace(). One in setDefaultMediaVolume and one in handleEvent in storage.js.
Whiteboard: u=fx-os-user c=may-6-17 p=1
no one called DeviceStorageHelper.getStat now and the function would be removed
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.