summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsunyeop.hwnag <sunyeop.hwang@samsung.com>2012-09-11 05:46:47 (GMT)
committersunyeop.hwnag <sunyeop.hwang@samsung.com>2012-09-11 05:46:47 (GMT)
commit8560e754a3f832e7e4ebd231ee6c8440488a7e6c (patch)
treedfe29ef53d0ee6acad26c0fee34851ae6ec70509
parentcfd2c6d00b015e8cd967e4a7737242f4dea12f72 (diff)
downloadpwlock-8560e754a3f832e7e4ebd231ee6c8440488a7e6c.zip
pwlock-8560e754a3f832e7e4ebd231ee6c8440488a7e6c.tar.gz
pwlock-8560e754a3f832e7e4ebd231ee6c8440488a7e6c.tar.bz2
Change-Id: I38baf8f6637fdfa99b5f6fc7742bb7ef4c1ae390
-rwxr-xr-xsrc/ui.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/ui.c b/src/ui.c
index 97367e1..9c1ef86 100755
--- a/src/ui.c
+++ b/src/ui.c
@@ -1479,14 +1479,8 @@ int show_greeting(struct appdata *ad) {
contents = pwlock_add_layout_from_edj(navi, EDJFILE, "pwlock-menu-lang");
- system_info_get_value_string(SYSTEM_INFO_KEY_MODEL, &model_name);
- _DBG("SYSTEM_INFO_KEY_MODEL = %s\n", model_name);
-
- if (!strncmp("Emulator", model_name, sizeof(model_name))) {
- PWLOCK_MEMFREE(model_name);
- system_info_get_value_string(SYSTEM_INFO_KEY_PLATFORM_NAME, &model_name);
- _DBG("SYSTEM_INFO_KEY_PLATFORM_NAME = %s\n", model_name);
- }
+ system_info_get_value_string(SYSTEM_INFO_KEY_PLATFORM_NAME, &model_name);
+ _DBG("SYSTEM_INFO_KEY_PLATFORM_NAME = %s\n", model_name);
if (model_name != NULL) {
_DBG("Device Name = %s\n", model_name);