mozilla-b2g/gaia — pull request #13088 by lissyx (2013-10-25 08:13:46+00:00)
Title: Bug 923577 - Ensure that we remove icons of hidden roles

When installing an application that is hidden, we have to make sure,
when updating the icon, that we remove it. This case happens especially
with packaged role system app, like, in this bug, a ringtones app. We
end up creating a temp icon (because we only have a updateManifest at
that time and cannot decide the role of the app) while downloading,
which is not removed once the app is finally installed.