gecko-dev/mobile
Jan Henning 2bcbde60fe Bug 1480854 - Use classic icons again on platforms prior to Oreo. r=jchen
We want to use the classic, non-adaptive icon again as our launcher icon on
Android versions prior to Oreo, as well as to continue using it in various
places within our app.

Unfortunately this means that we still have to provide duplicate resources for
those two purposes:
Because we don't want to use the adaptive icon internally, we can't use the same
resource directly for both internal usage and our launcher icon, because other-
wise on Oreo and above we'd receive the adaptive icon that way.
One possible workaround would have been to use the PNG files of our classic icon
directly as a drawable for internal useage and then create a differently named
XML bitmap for our launcher icon, which in turn would be overridden by the
adaptive icon on Oreo and above.
Unfortunately, modern usage demands that the launcher icon should be provided as
a mipmap resource, where XML bitmaps
- aren't officially supported
- unofficially work with some devices/launchers, but not all.

Therefore, our only choice is to provide separate drawables for our internal
icon and our launcher icon, even if prior to Android O both will have the same
contents. We'll also get rid of the separate round icon again, since
- on Android O and above, both round and non-round icon were using the same
  adaptive icon anyway
- prior to Android O our normal icon is already round enough (ignoring the
  Fennec icon for local developer builds)

--HG--
extra : source : 6183adcbfc9d81ab0cb854a4734a98f10a897d6b
extra : amend_source : dc14ea076aafd9d24fd5ee7aebcf71348812942c
2018-09-08 18:30:30 +02:00
..
android Bug 1480854 - Use classic icons again on platforms prior to Oreo. r=jchen 2018-09-08 18:30:30 +02:00
locales Bug 1486211 - Remove unused key browser.search.defaultenginename from region.properties r=mkaply 2018-08-28 13:14:27 +00:00