mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-31 14:15:30 +00:00
Bug 795053 - Always send the profile to Gecko if it isn't sent in the original intent. r=mfinkle
This commit is contained in:
parent
5d4a9e0c25
commit
16aba3c235
@ -71,11 +71,8 @@ public class GeckoThread extends Thread {
|
||||
|
||||
String args = mIntent.getStringExtra("args");
|
||||
|
||||
// if this isn't the default BrowserApp, send the apps default profile to gecko
|
||||
if (!(app instanceof BrowserApp)) {
|
||||
String profile = app.getDefaultProfileName();
|
||||
args = (args != null ? args : "") + "-P " + profile;
|
||||
}
|
||||
String profile = GeckoApp.sIsUsingCustomProfile ? "" : (" -P " + app.getProfile().getName());
|
||||
args = (args != null ? args : "") + profile;
|
||||
|
||||
// and then fire us up
|
||||
Log.i(LOGTAG, "RunGecko - args = " + args);
|
||||
|
Loading…
Reference in New Issue
Block a user