Bug 931469 - Remove redundant app.launch(aLauncher.source). r=wesj, a=bajaj
authorBill Gianopoulos <wgianopoulos@gmail.com>
Sun, 27 Oct 2013 15:08:36 -0400
changeset 167324 f2e1bef61fee79e1aac6f8644899b12ead44ee0d
parent 167323 531f69d6c11e6a625d92874f622b68d93b633734
child 167325 2da1e7e586a4608096dc0db258a0da8fdc9452f0
push id428
push userbbajaj@mozilla.com
push dateTue, 28 Jan 2014 00:16:25 +0000
treeherdermozilla-release@cd72a7ff3a75 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerswesj, bajaj
bugs931469
milestone27.0a2
Bug 931469 - Remove redundant app.launch(aLauncher.source). r=wesj, a=bajaj
mobile/android/components/HelperAppDialog.js
--- a/mobile/android/components/HelperAppDialog.js
+++ b/mobile/android/components/HelperAppDialog.js
@@ -55,17 +55,16 @@ HelperAppLauncherDialog.prototype = {
       if (pref.length > 0) {
         pref[0].launch(aLauncher.source);
         return;
       }
     }
 
     let callback = function(app) {
       aLauncher.MIMEInfo.preferredAction = Ci.nsIMIMEInfo.useHelperApp;
-      app.launch(aLauncher.source);
       if (!app.launch(aLauncher.source)) {
         aLauncher.cancel(Cr.NS_BINDING_ABORTED);
       }
     }
 
     if (apps.length > 1) {
       HelperApps.prompt(apps, {
         title: bundle.GetStringFromName("helperapps.pick"),