add app_id for email 42/102642/1
authorJooseok Song <seogii.song@samsung.com>
Tue, 6 Dec 2016 08:36:57 +0000 (17:36 +0900)
committerJooseok Song <seogii.song@samsung.com>
Tue, 6 Dec 2016 08:36:57 +0000 (17:36 +0900)
Change-Id: I3bc5086030cbe652554f340c1d5ae3672debebf0

common/src/account_db_helper.c

index 3b324daada6a297042088d85d72c3ec1565a5e83..812eb2f96aab198590e2f926f7f64117a62177c7 100644 (file)
@@ -898,6 +898,16 @@ int _account_get_represented_appid_from_db(sqlite3 *account_user_db, sqlite3 *ac
                return _ACCOUNT_ERROR_NONE;
        }
 
+       if (!strcmp(appid, "email-setting-efl")) {
+               ACCOUNT_DEBUG("Setting exception\n");
+               *verified_appid = _account_dup_text("email-setting-efl");
+               if (*verified_appid == NULL) {
+                       ACCOUNT_FATAL(fmt, arg...)("Memory Allocation Failed");
+                       return _ACCOUNT_ERROR_OUT_OF_MEMORY;
+               }
+               return _ACCOUNT_ERROR_NONE;
+       }
+
        /* Get app id family which is stored in account database */
        int pkgmgr_ret = -1;