Issue #1053 - Remove android support from XPCOM

This commit is contained in:
Matt A. Tobin 2020-02-22 19:03:00 -05:00 committed by Roy Tam
commit 26403f20ac
30 changed files with 27 additions and 476 deletions

View file

@ -220,13 +220,8 @@ GetRegWindowsAppDataFolder(bool aLocal, nsIFile** aFile)
static nsresult
GetUnixHomeDir(nsIFile** aFile)
{
#if defined(ANDROID)
// XXX no home dir on android; maybe we should return the sdcard if present?
return NS_ERROR_FAILURE;
#else
return NS_NewNativeLocalFile(nsDependentCString(PR_GetEnv("HOME")),
true, aFile);
#endif
}
/*