Support Web IME in only wearable profile 05/44305/1
authorSungmin Kwak <sungmin.kwak@samsung.com>
Wed, 1 Jul 2015 04:22:21 +0000 (13:22 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Tue, 21 Jul 2015 01:48:12 +0000 (10:48 +0900)
Change-Id: If2774d973bb05abf14b8d16597ab5a08ce019c52

ism/src/isf_query_utility.cpp

index 12581db..72c9c43 100644 (file)
@@ -1257,6 +1257,7 @@ static int _filtered_app_list_cb (const pkgmgrinfo_appinfo_h handle, void *user_
             ime_db.is_preinstalled = 1;
             ime_db.has_option = 1;  // Let's assume the inhouse IME always has an option menu.
         }
+#ifdef _WEARABLE
         else if (ime_db.pkgtype.compare("wgt") == 0)    //1 Download Web IME
         {
             ime_db.options = SCIM_HELPER_STAND_ALONE | SCIM_HELPER_NEED_SCREEN_INFO | SCIM_HELPER_AUTO_RESTART
@@ -1274,6 +1275,7 @@ static int _filtered_app_list_cb (const pkgmgrinfo_appinfo_h handle, void *user_
             }
             ime_db.has_option = -1; // At this point, we can't know IME has an option (setting) or not; -1 means unknown.
         }
+#endif
         else if (ime_db.pkgtype.compare("tpk") == 0)    //1 Download Native IME
         {
             ime_db.options = SCIM_HELPER_STAND_ALONE | SCIM_HELPER_NEED_SCREEN_INFO | SCIM_HELPER_AUTO_RESTART