mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 901426 - Don't overwrite passed in profile args. r=mfinkle
This commit is contained in:
parent
7d2a201970
commit
2e30d8470d
@ -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();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user