mozilla-b2g/gaia — pull request #6205 by julienw (2012-11-06 17:42:36+00:00)
Title: fix Bug 807392 - [dock] [homescreen] Dock icons disappear after installi...

...ng a number of apps

The problems were :
* we have to trigger a versionchange transaction by incrementing the IDB version
* we need to create the new object stores only if they don't exist already
*we need to take care that the hidden apps array could be null if we're in the case where users updated their software without doing a full reset (ie: dogfood users), because in that case we don't init the IDB.