Update description 38/184938/1
authormk5004.lee <mk5004.lee@samsung.com>
Tue, 24 Jul 2018 10:43:45 +0000 (19:43 +0900)
committermk5004.lee <mk5004.lee@samsung.com>
Tue, 24 Jul 2018 10:43:45 +0000 (19:43 +0900)
Change-Id: I5e23fa333f7e5f5610a31cb26b2cd32a93fe2790
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
watchface-complication-provider/include/watchface-complication-provider.h
watchface-complication/include/watchface-complication.h

index f12fb29..e19dd5b 100644 (file)
@@ -554,7 +554,6 @@ void _watchface_complication_provider_update_requested_cb(const char *provider_i
                const char *req_appid, watchface_complication_type_e type,
                const bundle *context, bundle *shared_data, void *user_data)
 {
-       watchface_complication_provider_data_set_type(shared_data, WATCHFACE_COMPLICATION_TYPE_TIME);
        watchface_complication_provider_data_set_extra_data(shared_data, "extra");
 }
  * @endcode
index 4325ba8..7a43347 100644 (file)
@@ -552,7 +552,7 @@ void _on_complication_update(int complication_id,
        watchface_complication_type_e type;
 
        watchface_complication_data_get_type(data, &type);
-       if (type == WATCHFACE_COMPLICATION_TYPE_IMAGE)
+       if (type == WATCHFACE_COMPLICATION_TYPE_RANGED_VALUE)
                watchface_complication_data_get_ranged_value(data, &cur_val, &min_val, &max_val);
 }
  * @endcode