diff options
author | Matt A. Tobin <email@mattatobin.com> | 2020-02-22 19:03:00 -0500 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2020-02-22 19:03:00 -0500 |
commit | 69ed4e4b4ee94b69f55e2e0d405aff109e3d145c (patch) | |
tree | 47e775a19e4ac23d4e70970fc24dec619cbfd110 /xpcom/io/SpecialSystemDirectory.cpp | |
parent | 7c8262e8c30018c1c522de5db1f22f815212a89f (diff) | |
download | UXP-69ed4e4b4ee94b69f55e2e0d405aff109e3d145c.tar UXP-69ed4e4b4ee94b69f55e2e0d405aff109e3d145c.tar.gz UXP-69ed4e4b4ee94b69f55e2e0d405aff109e3d145c.tar.lz UXP-69ed4e4b4ee94b69f55e2e0d405aff109e3d145c.tar.xz UXP-69ed4e4b4ee94b69f55e2e0d405aff109e3d145c.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 } /* |