From product (bug 1411657 comment 0):
Activity Stream may be pushed to a later release on desktop. With that, we want
the Pocket stories feature to be put behind a feature flag on Firefox Android,so
we can launch the feature across all platforms simultaneously.
MozReview-Commit-ID: 3KmZir3tGPc
--HG--
extra : rebase_source : 9bb693e83ec98a8c1bae6476b2c800cf89968bd3
This is an existing bug that previously had no impact because the values were
duplicated. Now that I'm going to change the value, the bug has to be fixed.
I opted not to fix the bug for the other top sites features in order to
minimize the scope of this change.
MozReview-Commit-ID: L9bnEMfvpDG
--HG--
extra : rebase_source : 8a451817fdf318f8ff2f8536c386e320d88fe293
Unlike capturing images/videos, the Android permission for recording audio is apparently only required if we want to record the audio ourselves, but not if we're merely calling out to some other app via MediaStore.Audio.Media.RECORD_SOUND_ACTION. Therefore we can drop that permission request for now.
MozReview-Commit-ID: 35vtm8Y78hh
--HG--
extra : rebase_source : 30426abfc6ab319422867656cf9f1df50867d749
Theoretically this patch would also handle the case where the user has granted only some of the requested permissions, but at the moment our Permissions implementation doesn't make it easy to find out *which* permissions have been denied in the fallback case. So for the time being, we assume having no permissions at all in the fallback case.
MozReview-Commit-ID: EtxFfiLQONF
--HG--
extra : rebase_source : 42fcad8b0f9fb29026b53cf0d24905ece96e6077
If the theme doesn't provide an accent colour, we try determining something appropriate ourselves.
MozReview-Commit-ID: B5TSeIFsBIK
--HG--
extra : rebase_source : b82b8d5feeb16e466e4d4f4cee48b2493fe3301a
We want to use the Palette library for getting a fallback accent colour for lightweight themes, however because of bug 1318667, we might have to continue using our own implementation of getDominantColor on x86 devices.
Therefore we move this into BitmapUtils, so we can have a central location from which to switch between our own and the Palette library implementation.
MozReview-Commit-ID: 52WsfZbW12x
--HG--
extra : rebase_source : b0eb60c25355d1a13418844b5684e4356225e8c3
If the theme doesn't provide an accent colour, we try determining something appropriate ourselves.
MozReview-Commit-ID: B5TSeIFsBIK
--HG--
extra : rebase_source : 0dba0b8d0280461d2006f228b1d3352d439bb26b
We want to use the Palette library for getting a fallback accent colour for lightweight themes, however because of bug 1318667, we might have to continue using our own implementation of getDominantColor on x86 devices.
Therefore we move this into BitmapUtils, so we can have a central location from which to switch between our own and the Palette library implementation.
MozReview-Commit-ID: 52WsfZbW12x
--HG--
extra : rebase_source : b7e66c027ef6c4a6aa01fcda6d17b6afb2e854a9
This was done by way of hacking our vendored version of org.simple.json.
MozReview-Commit-ID: GpTFpmeevVN
--HG--
extra : rebase_source : 2a29b53919a617e2ea89d776a53a43257959bc22