зеркало из https://github.com/mozilla/gecko-dev.git
Bug 800840 - Setup profile locker after unlocking on Android. r=bsmedberg, a=lsblakk
This commit is contained in:
Родитель
94a1d9e705
Коммит
5bafe6a97a
|
@ -1766,8 +1766,10 @@ ProfileLockedDialog(nsIFile* aProfileDir, nsIFile* aProfileLocalDir,
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
#ifdef MOZ_WIDGET_ANDROID
|
#ifdef MOZ_WIDGET_ANDROID
|
||||||
if (mozilla::AndroidBridge::Bridge()->UnlockProfile())
|
if (mozilla::AndroidBridge::Bridge()->UnlockProfile()) {
|
||||||
return NS_OK;
|
return NS_LockProfilePath(aProfileDir, aProfileLocalDir,
|
||||||
|
nullptr, aResult);
|
||||||
|
}
|
||||||
#else
|
#else
|
||||||
rv = ps->Alert(nullptr, killTitle, killMessage);
|
rv = ps->Alert(nullptr, killTitle, killMessage);
|
||||||
NS_ENSURE_SUCCESS_LOG(rv, rv);
|
NS_ENSURE_SUCCESS_LOG(rv, rv);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче