mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-10 09:19:28 +00:00
Bug 842262 - Keep ProfD == ProfLD on Android; r=glandium
This commit is contained in:
parent
5ca09996fd
commit
1d81f3539e
@ -1139,6 +1139,10 @@ nsXREDirProvider::GetUserDataDirectoryHome(nsIFile** aFile, bool aLocal)
|
||||
if (!homeDir || !*homeDir)
|
||||
return NS_ERROR_FAILURE;
|
||||
|
||||
#ifdef ANDROID /* We want (ProfD == ProfLD) on Android. */
|
||||
aLocal = false;
|
||||
#endif
|
||||
|
||||
if (aLocal) {
|
||||
// If $XDG_CACHE_HOME is defined use it, otherwise use $HOME/.cache.
|
||||
const char* cacheHome = getenv("XDG_CACHE_HOME");
|
||||
|
Loading…
x
Reference in New Issue
Block a user