diff options
author | Matt A. Tobin <email@mattatobin.com> | 2020-02-22 19:03:00 -0500 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2020-04-14 12:51:25 +0200 |
commit | da15aa0fdf5ec769a0973a00d84f9fa090de0b60 (patch) | |
tree | c6f5b8197eac51be855aecdae3b5d97207cdf97e /xpcom/io/SpecialSystemDirectory.cpp | |
parent | 867737dd4b650494404a90b8b99ea959f74462ca (diff) | |
download | UXP-da15aa0fdf5ec769a0973a00d84f9fa090de0b60.tar UXP-da15aa0fdf5ec769a0973a00d84f9fa090de0b60.tar.gz UXP-da15aa0fdf5ec769a0973a00d84f9fa090de0b60.tar.lz UXP-da15aa0fdf5ec769a0973a00d84f9fa090de0b60.tar.xz UXP-da15aa0fdf5ec769a0973a00d84f9fa090de0b60.zip |
Issue #1053 - Remove android support from XPCOM
Diffstat (limited to 'xpcom/io/SpecialSystemDirectory.cpp')
-rw-r--r-- | xpcom/io/SpecialSystemDirectory.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
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 } /* |