summaryrefslogtreecommitdiff
path: root/cmds/installd/utils.cpp
diff options
context:
space:
mode:
author Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> 2020-01-29 17:57:36 +0000
committer Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> 2020-01-29 17:57:36 +0000
commit68d6b2f5a5cd7c749203519fbfd3ae796875657a (patch)
tree5d0cd2a78900611aee031028b83794a060d19da0 /cmds/installd/utils.cpp
parent5e18e87382e421c37947f92096832d589afbf8af (diff)
parent83f1491abb3075c9d5ab619514e00638ea555929 (diff)
Merge "Increase the level of depth of apk paths" am: 401ace29db am: ec26d4b94f am: 83f1491abb
Change-Id: Iefd37bebff65054696a52cd70b3b3d8035a9b119
Diffstat (limited to 'cmds/installd/utils.cpp')
-rw-r--r--cmds/installd/utils.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmds/installd/utils.cpp b/cmds/installd/utils.cpp
index 6012822f69..939cf90119 100644
--- a/cmds/installd/utils.cpp
+++ b/cmds/installd/utils.cpp
@@ -954,11 +954,11 @@ static int validate_apk_path_internal(const std::string& path, int maxSubdirs) {
}
int validate_apk_path(const char* path) {
- return validate_apk_path_internal(path, 1 /* maxSubdirs */);
+ return validate_apk_path_internal(path, 2 /* maxSubdirs */);
}
int validate_apk_path_subdirs(const char* path) {
- return validate_apk_path_internal(path, 3 /* maxSubdirs */);
+ return validate_apk_path_internal(path, 4 /* maxSubdirs */);
}
int ensure_config_user_dirs(userid_t userid) {