Change compare string to know emulator mode.
authorKeebum Kim <keebum.kim@samsung.com>
Wed, 10 Apr 2013 07:49:49 +0000 (16:49 +0900)
committerKeebum Kim <keebum.kim@samsung.com>
Wed, 10 Apr 2013 07:49:49 +0000 (16:49 +0900)
Change-Id: Ib2cb93cb7ccc487e63e7631a9aecc91d6ca2b5d0

plugin/mms_plugin/MmsPluginUserAgent.cpp

index 9b8e4e8..fedd1dd 100755 (executable)
@@ -304,7 +304,8 @@ void MmsPluginUaManager::run()
 
                        if (ret == 0) {
                                MSG_DEBUG("System runs on [%s].", buf.machine);
-                               if (strncmp(buf.machine, "i686", 4) == 0) {
+                               //if (strncmp(buf.machine, "i686", 4) == 0) {
+                               if(strcasestr(buf.machine, "emulated")) {
                                        MSG_DEBUG("Running on Emulator mode.");
 
                                        int mmsResult = MsgSettingGetInt(VCONFKEY_TELEPHONY_MMS_SENT_STATUS);