changed implement of sysman format api for supporting osp app. 90/15190/1
authorjy910.yun <jy910.yun@samsung.com>
Fri, 14 Jun 2013 05:50:05 +0000 (14:50 +0900)
committerKrzysztof Sasiak <k.sasiak@samsung.com>
Thu, 16 Jan 2014 17:06:37 +0000 (18:06 +0100)
before long, we are planing to delete sysman library.
but osp has still use this api, so we temporary support this api.

Change-Id: Id5ae6f1f8d85eb4764a157af83645639070cb993
Signed-off-by: jy910.yun <jy910.yun@samsung.com>
sysman/sysnoti.c

index 16a2468..613fef3 100644 (file)
@@ -331,11 +331,12 @@ static int sysnoti_format_mmc_cb(keynode_t *key_nodes, void *data)
 
 API int sysman_request_format_mmc(struct mmc_contents *mmc_data)
 {
+       char *buf = "1";
        if (mmc_data != NULL && mmc_data->mmc_cb != NULL)
                vconf_notify_key_changed(VCONFKEY_SYSMAN_MMC_FORMAT,
                                         (void *)sysnoti_format_mmc_cb,
                                         (void *)mmc_data);
-       return sysman_call_predef_action(PREDEF_FORMAT_MMC, 0);
+       return sysman_call_predef_action(PREDEF_FORMAT_MMC, 1, buf);
 }
 
 API int sysman_request_set_cpu_max_frequency(int val)