summaryrefslogtreecommitdiffstats
path: root/libs/utils
diff options
context:
space:
mode:
Diffstat (limited to 'libs/utils')
-rw-r--r--libs/utils/AssetManager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/utils/AssetManager.cpp b/libs/utils/AssetManager.cpp
index 0d2c8e0..94f0fcd 100644
--- a/libs/utils/AssetManager.cpp
+++ b/libs/utils/AssetManager.cpp
@@ -752,9 +752,9 @@ void AssetManager::loadRedirectionMappings(ResTable* rt) const
struct stat statbuf;
String8 basePath(data);
basePath.appendPath(kThemeResCacheDir);
- createDirIfNecessary(basePath.string(), S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH, &statbuf);
+ createDirIfNecessary(basePath.string(), 0777, &statbuf);
basePath.appendPath(mThemePackageName);
- createDirIfNecessary(basePath.string(), S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH, &statbuf);
+ createDirIfNecessary(basePath.string(), 0777, &statbuf);
String8 themeDirLockPath(basePath);
themeDirLockPath.append(".lck");