mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-07 16:28:38 +09:00
Issue #1053 - Remove android support from XPCOM
This commit is contained in:
parent
68d64c0c58
commit
26403f20ac
30 changed files with 27 additions and 476 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue