Backed out changeset 35d9b501bd7a (bug 1751005) for causing build bustages in nsAppRunner. CLOSED TREE

This commit is contained in:
Sandor Molnar 2022-01-21 20:59:29 +02:00
parent 0c8d39e234
commit 3cb4e3cb77

View File

@ -430,9 +430,6 @@ static MOZ_FORMAT_PRINTF(2, 3) void Output(bool isError, const char* fmt, ...) {
MessageBoxW(nullptr, wide_msg, L"XULRunner", flags);
}
#elif defined(MOZ_WIDGET_ANDROID)
__android_log_print(isError ? ANDROID_LOG_ERROR : ANDROID_LOG_INFO,
"GeckoRuntime", fmt, ap);
#else
vfprintf(stderr, fmt, ap);
#endif
@ -2349,13 +2346,6 @@ static nsresult ProfileMissingDialog(nsINativeAppSupport* aNative) {
"Could not determine any profile running in backgroundtask mode!\n");
return NS_ERROR_ABORT;
}
#elif MOZ_WIDGET_ANDROID
// We cannot really do anything this early during initialization, so we just
// return as this is likely the effect of misconfiguration on the test side.
// Non-test code paths cannot set the profile folder, which is always the
// default one.
Output(true, "Could not find profile folder.\n");
return NS_ERROR_ABORT;
#endif
nsresult rv;