On Feb 25, 2014, at 8:52 PM, Joshua Dover <jdo...@mozilla.com> wrote:

> I’ve been working on offloading our downloads to use Android’s built-in 
> download manager to gain quite a few benefits (which for brevity’s sake I 
> won’t cover here, but you can follow the progress in bug 816318), but most 
> importantly a more consistent Android experience that users are used to.
> 
> Unfortunately, the DownloadManager system service was not available until 
> Gingerbread so we have a few alternatives for Froyo devices that I’d like 
> some input on:
> 
> 1) Use our existing implementation that uses nsIDownloadManager
> 
> We have an existing download mechanism that works that we can fall back to 
> for Froyo devices. We can continue shipping this as a fall back until Froyo 
> usage (currently ~2%) has decreased enough that we drop support all-together.
> 
> There’s also been work on bug 901360 to transition to the newer Downloads.jsm 
> backend that desktop uses that we could land. Benefits include putting 
> downloads on a background thread.

For 2% of users and falling, this seems like an entirely acceptable solution to 
me.  I’m not even sure if the last bit is worth doing (even if it’s almost 
done) since investing in improving 2.2-only performance is probably not useful 
time spent.

— Mike
_______________________________________________
mobile-firefox-dev mailing list
mobile-firefox-dev@mozilla.org
https://mail.mozilla.org/listinfo/mobile-firefox-dev

Reply via email to