Replace PathUtil.h with ServerUtil.h 21/121721/1
authorMu-Woong Lee <muwoong.lee@samsung.com>
Tue, 28 Mar 2017 13:10:37 +0000 (22:10 +0900)
committerMu-Woong Lee <muwoong.lee@samsung.com>
Tue, 28 Mar 2017 13:10:37 +0000 (22:10 +0900)
Change-Id: I7d002f2a818a3e7281fe291ad5782576120097ec
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
src/server/ActiveUserMonitor.cpp

index 526b4ba..0da7cc1 100644 (file)
@@ -15,7 +15,7 @@
  */
 
 #include <systemd/sd-login.h>
-#include <PathUtil.h>
+#include <ServerUtil.h>
 #include "ActiveUserMonitor.h"
 
 #define ROOT_UID 0
@@ -115,7 +115,7 @@ void ActiveUserMonitor::__onUserRemoved(GDBusConnection* conn, const gchar* send
 
 static bool __isUserDirectoryReady(uid_t uid)
 {
-       std::string dbDir = PathUtil::getUserPath(uid, TZ_USER_DB, EMPTY_STR);
+       std::string dbDir = util::getUserPath(uid, TZ_USER_DB, EMPTY_STR);
        DIR* dir = opendir(dbDir.c_str());
        if (!dir) {
                _W("User not ready");