Fix wrong path for extended storage 57/145157/1
authorSangyoon Jang <jeremy.jang@samsung.com>
Mon, 21 Aug 2017 11:21:38 +0000 (20:21 +0900)
committerSangyoon Jang <jeremy.jang@samsung.com>
Mon, 21 Aug 2017 11:21:38 +0000 (20:21 +0900)
Change-Id: I3cbf51a4bb8dc804c1d9b04b37f25f7ec7577f7b
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
src/common/request.cc

index 5fec4b5..d8a0c97 100644 (file)
@@ -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());
   }
 }