diff options
author | 2020-01-29 17:24:57 +0000 | |
---|---|---|
committer | 2020-01-29 17:24:57 +0000 | |
commit | 401ace29dbaebfb10918db45e8956f1adaabc6cb (patch) | |
tree | 75950029baff41670685dd3b20063a536a4bb7c8 /cmds/installd/utils.cpp | |
parent | 9f68373202e1205b0e98795f675ac910e08369ae (diff) | |
parent | 29556099b4f35341206d35875e1185dcf1ff1bb5 (diff) |
Merge "Increase the level of depth of apk paths"
Diffstat (limited to 'cmds/installd/utils.cpp')
-rw-r--r-- | cmds/installd/utils.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmds/installd/utils.cpp b/cmds/installd/utils.cpp index 4eb1df0b2e..2f79552d1c 100644 --- a/cmds/installd/utils.cpp +++ b/cmds/installd/utils.cpp @@ -945,11 +945,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) { |