From 69ed4e4b4ee94b69f55e2e0d405aff109e3d145c Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Sat, 22 Feb 2020 19:03:00 -0500 Subject: Issue #1053 - Remove android support from XPCOM --- xpcom/io/SpecialSystemDirectory.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'xpcom/io/SpecialSystemDirectory.cpp') diff --git a/xpcom/io/SpecialSystemDirectory.cpp b/xpcom/io/SpecialSystemDirectory.cpp index 158431088..c174b4ac7 100644 --- a/xpcom/io/SpecialSystemDirectory.cpp +++ b/xpcom/io/SpecialSystemDirectory.cpp @@ -187,13 +187,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 } /* -- cgit v1.2.3