diff options
author | moon87.park <moon87.park@samsung.com> | 2017-05-12 13:05:41 +0900 |
---|---|---|
committer | Moonkyoung Park <moon87.park@samsung.com> | 2017-05-26 06:31:15 +0000 |
commit | c7ac955f6f607b0569ad6f66dc113d91b5815be6 (patch) | |
tree | d2fa82184436fd029f186015998ab168c9557f6b | |
parent | c6e86e4eb8c3f5c4f1be3228a149337f8581b18a (diff) | |
download | w3-home-c7ac955f6f607b0569ad6f66dc113d91b5815be6.tar.gz w3-home-c7ac955f6f607b0569ad6f66dc113d91b5815be6.tar.bz2 w3-home-c7ac955f6f607b0569ad6f66dc113d91b5815be6.zip |
[W-home] Launch the watch setting app when longpress the clock face
Change-Id: Id0d68df54c7bdfd463ebeea08604f75d9774658a
-rwxr-xr-x | src/layout.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/layout.c b/src/layout.c index ea382a3..9e5a6e4 100755 --- a/src/layout.c +++ b/src/layout.c @@ -196,6 +196,12 @@ static Eina_Bool _longpress_timer_cb(void *data) } else { no_effect = 1; } + app_control_h app_control_handle = NULL; + app_control_create(&app_control_handle); + app_control_set_package(app_control_handle, "org.tizen.watch-setting"); + app_control_add_extra_data(app_control_handle, "launch-type", "watchface"); + app_control_send_launch_request(app_control_handle, NULL, NULL); + app_control_destroy(app_control_handle); break; case PAGE_DIRECTION_RIGHT: if (layout_info->pressed_item) { |