Change-Id: I4a0851c30ffdf10917bfec9dd1adf643e6ba80d3
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
free(uri);
}
}
+ else if (strcmp(operation, APP_CONTROL_OPERATION_DEFAULT) == 0) {
+#ifdef VCONFKEY_STICKER_SUPPORTED_FEATURE
+ // Check whether oobe has been done
+ int feature_flag = 0;
+ if (vconf_get_int(VCONFKEY_STICKER_SUPPORTED_FEATURE, &feature_flag) == 0 && feature_flag == 0) {
+ STLOGD("Request to get sticker feature");
+ initialize_sap();
+ request_sticker_feature();
+ }
+ else {
+ if (!is_init_sap())
+ service_app_exit();
+ }
+#endif
+ }
}
else {
STLOGW("Failed to get operation. error : %d", ret);
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns="http://tizen.org/ns/packages" api-version="5.5" package="org.tizen.sticker-receiver" version="1.0.60">
<profile name="wearable" />
- <service-application appid="org.tizen.sticker-receiver" exec="sticker-receiver" type="capp" multiple="false" taskmanage="false" nodisplay="true" launch_mode="single">
+ <service-application appid="org.tizen.sticker-receiver" exec="sticker-receiver" type="capp" multiple="false" taskmanage="false" nodisplay="true" launch_mode="single" on-boot="true">
<label>sticker-receiver</label>
<metadata key="accessory-services-location" value="/res/xml/accessoryservices.xml"/>
<metadata key="launch-on-attach" value="false"/>