suspend: make suspend message beyond other operations. 17/41917/1
authorJinhyung Choi <jinhyung2.choi@samsung.com>
Wed, 27 May 2015 06:28:33 +0000 (15:28 +0900)
committerJinhyung Choi <jinhyung2.choi@samsung.com>
Fri, 19 Jun 2015 06:02:52 +0000 (15:02 +0900)
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
Conflicts:
src/emuld.cpp

Change-Id: I21c1d22ac127e33b6f5cee43fcd7840d8ca6551b

src/emuld.cpp

index fa5bbca8f9f61535e16ee0030cd0908257407da9..9f547aaa15b784e014cec1094b3e6ab7c5673ec8 100644 (file)
@@ -357,6 +357,8 @@ int main( int argc , char *argv[])
         exit(0);
     }
 
+    send_default_suspend_req();
+
     if (pthread_create(&tid[TID_BOOT], NULL, dbus_booting_done_check, NULL) != 0)
     {
         LOGERR("boot noti pthread create fail!");
@@ -370,9 +372,6 @@ int main( int argc , char *argv[])
     add_vconf_map_profile();
     set_vconf_cb();
 
-
-    send_default_suspend_req();
-
     ret = try_mount((char*)HDS_DEFAULT_TAG, (char*)HDS_DEFAULT_PATH);
     LOGINFO("try mount /mnt/host for default fileshare: %d", ret);