summaryrefslogtreecommitdiff
path: root/VoldNativeService.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'VoldNativeService.cpp')
-rw-r--r--VoldNativeService.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/VoldNativeService.cpp b/VoldNativeService.cpp
index 6aa96700..08b46619 100644
--- a/VoldNativeService.cpp
+++ b/VoldNativeService.cpp
@@ -466,6 +466,14 @@ binder::Status VoldNativeService::setupAppDir(const std::string& path, int32_t a
return translate(VolumeManager::Instance()->setupAppDir(path, appUid));
}
+binder::Status VoldNativeService::fixupAppDir(const std::string& path, int32_t appUid) {
+ ENFORCE_SYSTEM_OR_ROOT;
+ CHECK_ARGUMENT_PATH(path);
+ ACQUIRE_LOCK;
+
+ return translate(VolumeManager::Instance()->fixupAppDir(path, appUid));
+}
+
binder::Status VoldNativeService::createObb(const std::string& sourcePath,
const std::string& sourceKey, int32_t ownerGid,
std::string* _aidl_return) {