Closed Bug 1244945 Opened 9 years ago Closed 5 years ago

Favicons get scaled on the UI thread

Categories

(Firefox for Android Graveyard :: Favicon Handling, defect)

All
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: mcomella, Unassigned)

Details

LoadFaviconTask gets the favicon in doInBackground but then scales the bitmap in processResult which is called from onPostExecute. Ideally, we should scale the bitmap in doInBackground and then call all the listeners on the UiThread. Realistically, this probably isn't too bad of a perf hit because most images will be coming from the cache already stored in memory so we only need to do it once per image but it can still be bad if we're processing many images.
We have completed our launch of our new Firefox on Android. The development of the new versions use GitHub for issue tracking. If the bug report still reproduces in a current version of [Firefox on Android nightly](https://play.google.com/store/apps/details?id=org.mozilla.fenix) an issue can be reported at the [Fenix GitHub project](https://github.com/mozilla-mobile/fenix/). If you want to discuss your report please use [Mozilla's chat](https://wiki.mozilla.org/Matrix#Connect_to_Matrix) server https://chat.mozilla.org and join the [#fenix](https://chat.mozilla.org/#/room/#fenix:mozilla.org) channel.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → INCOMPLETE
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.