From e2ecad7d83a06184bcc02318679ccddbd0831ffd Mon Sep 17 00:00:00 2001 From: Sangyoon Jang Date: Mon, 21 Aug 2017 20:21:38 +0900 Subject: [PATCH] Fix wrong path for extended storage Change-Id: I3cbf51a4bb8dc804c1d9b04b37f25f7ec7577f7b Signed-off-by: Sangyoon Jang --- src/common/request.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/request.cc b/src/common/request.cc index 5fec4b5..d8a0c97 100644 --- a/src/common/request.cc +++ b/src/common/request.cc @@ -33,10 +33,10 @@ const char* GetRootAppPath(bool is_readonly, uid_t uid) { const char* GetExtendedRootAppPath(uid_t uid) { if (GetRequestMode(uid) == RequestMode::GLOBAL) { - return tzplatform_mkpath(TZ_SYS_MEDIA, "extended_sd/globalapps"); + return tzplatform_mkpath(TZ_SYS_MEDIA, "extendedsd/globalapps"); } else { bf::path rootpath = - bf::path("extended_sd") / GetUsernameByUid(uid) / "apps_rw"; + bf::path("extendedsd") / GetUsernameByUid(uid) / "apps_rw"; return tzplatform_mkpath(TZ_SYS_MEDIA, rootpath.string().c_str()); } } -- 2.7.4