Bug 1151967 - Ensure TabQueueDispatcher has crash reporting enabled (r=rnewman)
authorMartyn Haigh <martyn.haigh@gmail.com>
Thu, 09 Apr 2015 18:11:58 +0100
changeset 257372 8595bcc0458ad35b1df9b159330d50fd3d5dd1c1
parent 257371 f0f90206af121f493eb4bca2d8ee3e03ffe4b46f
child 257373 cad808749b13c18670f2ad9bc04179d3bdadf93b
push id8007
push userraliiev@mozilla.com
push dateMon, 11 May 2015 19:23:16 +0000
treeherdermozilla-aurora@e2ce1aac996e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersrnewman
bugs1151967
milestone40.0a1
Bug 1151967 - Ensure TabQueueDispatcher has crash reporting enabled (r=rnewman)
mobile/android/base/tabqueue/TabQueueDispatcher.java
--- a/mobile/android/base/tabqueue/TabQueueDispatcher.java
+++ b/mobile/android/base/tabqueue/TabQueueDispatcher.java
@@ -2,16 +2,17 @@
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 package org.mozilla.gecko.tabqueue;
 
 import org.mozilla.gecko.AppConstants;
 import org.mozilla.gecko.BrowserApp;
+import org.mozilla.gecko.GeckoAppShell;
 import org.mozilla.gecko.GeckoSharedPrefs;
 import org.mozilla.gecko.Locales;
 import org.mozilla.gecko.preferences.GeckoPreferences;
 import org.mozilla.gecko.sync.setup.activities.WebURLFinder;
 
 import android.content.Intent;
 import android.os.Bundle;
 import android.text.TextUtils;
@@ -25,16 +26,18 @@ import android.util.Log;
  */
 public class TabQueueDispatcher extends Locales.LocaleAwareActivity {
     private static final String LOGTAG = "Gecko" + TabQueueDispatcher.class.getSimpleName();
 
     @Override
     protected void onCreate(Bundle savedInstanceState) {
         super.onCreate(savedInstanceState);
 
+        GeckoAppShell.ensureCrashHandling();
+
         Intent intent = getIntent();
 
         // For the moment lets exit early and start fennec as normal if we're not in nightly with
         // the tab queue build flag.
         if (!AppConstants.MOZ_ANDROID_TAB_QUEUE) {
             loadNormally(intent);
             finish();
         }