Bug 901426 - Don't overwrite passed in profile args. r=mfinkle

This commit is contained in:
Wes Johnston 2013-09-05 12:28:23 -07:00
parent 7d2a201970
commit 2e30d8470d

View File

@ -147,7 +147,9 @@ public class GeckoThread extends Thread implements GeckoEventListener {
if (args == null || !args.contains(BrowserApp.GUEST_BROWSING_ARG)) {
guest = " " + BrowserApp.GUEST_BROWSING_ARG;
}
} else if (GeckoApp.sIsUsingCustomProfile) {
} else if (!GeckoApp.sIsUsingCustomProfile) {
// If nothing was passed in in the intent, force Gecko to use the default profile for
// for this activity
profile = " -P " + GeckoAppShell.getGeckoInterface().getProfile().getName();
}
}