From: Keebum Kim Date: Wed, 10 Apr 2013 07:49:49 +0000 (+0900) Subject: Change compare string to know emulator mode. X-Git-Tag: submit/tizen_2.1/20130424.231644~10 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f1d58bb711ad69f1125d7bf161d2353724e16178;p=platform%2Fcore%2Fmessaging%2Fmsg-service.git Change compare string to know emulator mode. Change-Id: Ib2cb93cb7ccc487e63e7631a9aecc91d6ca2b5d0 --- diff --git a/plugin/mms_plugin/MmsPluginUserAgent.cpp b/plugin/mms_plugin/MmsPluginUserAgent.cpp index 9b8e4e8..fedd1dd 100755 --- a/plugin/mms_plugin/MmsPluginUserAgent.cpp +++ b/plugin/mms_plugin/MmsPluginUserAgent.cpp @@ -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);