зеркало из https://github.com/mozilla/gecko-dev.git
73c9b40a82
Use SharedPreference to ensure we won't loose previous state if Fennec is killed, set as default, restarted. The default browser status will only be set once, when the app is resumed, as it cannot change while the app is in foreground. We will track "E_Changed_Default_To_Fennec" only if Fennec wasn't previously the default browser. The method to track the event is safe to be called even before the mma init process is finished as LeanPlum postpones the track operation until it has actually been started. Refactored MmaDelegate to not use a WeakReference for application context anymore as that should exist for the entire time the app is open, and only in that timeframe the MmaDelegate methods that use that context can be called. MozReview-Commit-ID: JMJJclWj9fq --HG-- extra : rebase_source : a6b3c6b097dfacb348a4fd0bbf054dd0c14b2d4a |
||
---|---|---|
.. | ||
android | ||
locales |