Bug 1382081 - Notify ICS user EOL, r=sebastian
authormaliu <max@mxli.us>
Tue, 18 Jul 2017 19:00:00 +0200
changeset 419560 3db31de3ac85339bca02e56c11cbe74c566f2340
parent 419559 974fd5c79451c5bd35ceafca95c2ef2563fd3bd1
child 419561 4890e14058f44cf958aa138a03e571f645b96ea6
push id7566
push usermtabara@mozilla.com
push dateWed, 02 Aug 2017 08:25:16 +0000
treeherdermozilla-beta@86913f512c3c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssebastian
bugs1382081
milestone56.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1382081 - Notify ICS user EOL, r=sebastian 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) {