зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1703179 - [Thunderbird only] don't do early master password prompt when in backgroundtasks mode. r=kaie,xpcom-reviewers,mccr8 DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D114968
This commit is contained in:
Родитель
a05c120bd0
Коммит
546ac2cb09
|
@ -934,7 +934,12 @@ nsXREDirProvider::DoStartup() {
|
|||
#endif
|
||||
|
||||
#ifdef MOZ_THUNDERBIRD
|
||||
if (mozilla::Preferences::GetBool(
|
||||
bool bgtaskMode = false;
|
||||
# ifdef MOZ_BACKGROUNDTASKS
|
||||
bgtaskMode = mozilla::BackgroundTasks::IsBackgroundTaskMode();
|
||||
# endif
|
||||
if (!bgtaskMode &&
|
||||
mozilla::Preferences::GetBool(
|
||||
"security.prompt_for_master_password_on_startup", false)) {
|
||||
// Prompt for the master password prior to opening application windows,
|
||||
// to avoid the race that triggers multiple prompts (see bug 177175).
|
||||
|
|
Загрузка…
Ссылка в новой задаче