Bug 1382081 - Notify ICS user EOL. r=sebastian, a=jcristau
authormaliu <max@mxli.us>
Tue, 18 Jul 2017 19:00:00 +0200
changeset 414459 f851b261432f6fc7d352989ff12c3957e79e05d9
parent 414458 850ba65481806e61c909a22f9bb0f5b781f79691
child 414460 939de7ddf178a4bf93bb6474de654a3f934cbb1c
push id1490
push usermtabara@mozilla.com
push dateMon, 31 Jul 2017 14:08:16 +0000
treeherdermozilla-release@70e32e6bf15e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssebastian, jcristau
bugs1382081
milestone55.0
Bug 1382081 - Notify ICS user EOL. r=sebastian, a=jcristau MozReview-Commit-ID: 36clTSg6qKY
mobile/android/base/java/org/mozilla/gecko/BrowserApp.java
--- a/mobile/android/base/java/org/mozilla/gecko/BrowserApp.java
+++ b/mobile/android/base/java/org/mozilla/gecko/BrowserApp.java
@@ -1111,16 +1111,20 @@ public class BrowserApp extends GeckoApp
 
     @Override
     public void onAttachedToWindow() {
         final SafeIntent intent = new SafeIntent(getIntent());
 
         // We can't show the first run experience until Gecko has finished initialization (bug 1077583).
         checkFirstrun(this, intent);
 
+        if (Versions.preJB) {
+           conditionallyNotifyEOL();
+        }
+
         if (!IntentUtils.getIsInAutomationFromEnvironment(intent)) {
             DawnHelper.conditionallyNotifyDawn(this);
         }
     }
 
     @Override
     protected void processTabQueue() {
         if (TabQueueHelper.TAB_QUEUE_ENABLED && mInitialized) {