gecko-dev/mobile
Jan Henning 2bf5c04c80 Bug 1491643 - Really disable updates when installed from the Play Store. r=jchen
So far, we've generally opted for a policy of disabling the Updater when we've
been installed from the Play Store, not least because this is not allowed by the
Play Store's terms of service.

While other references to the Updater in the Android app UI are already
completely hidden in that case and we don't do any automatic checking for up-
dates either, the "Check for Updates" button on about:firefox is only hidden via
the MOZ_UPDATER build define and therefore still visible on all Nightly builds.
Since dynamically hiding it might be more involved, we just make sure that the
Updater simply aborts and returns NOT_AVAILABLE when an Update request has been
triggered from Gecko on a Play Store-installed build.

That way, we should be able to avoid all situations where the Updater might want
to display a notification, which of course doesn't work when the corresponding
notification channel hasn't been registered.

Differential Revision: https://phabricator.services.mozilla.com/D6060

--HG--
extra : moz-landing-system : lando
2018-09-18 17:47:01 +00:00
..
android Bug 1491643 - Really disable updates when installed from the Play Store. r=jchen 2018-09-18 17:47:01 +00:00
locales Bug 1486211 - Remove unused key browser.search.defaultenginename from region.properties r=mkaply 2018-08-28 13:14:27 +00:00