From 68da83cd9b8c7782309e1ca07c523726b3969628 Mon Sep 17 00:00:00 2001 From: Sungbae Yoo Date: Wed, 10 May 2017 17:01:45 +0900 Subject: [PATCH] Fix to call cleanup of keyguard after container deletion Change-Id: I910ce44d7c8ce963e1e6fd90fa2161fbba3bc503 Signed-off-by: Sungbae Yoo --- tools/apps/setup-wizard/src/main.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tools/apps/setup-wizard/src/main.c b/tools/apps/setup-wizard/src/main.c index 9775270..afa683b 100644 --- a/tools/apps/setup-wizard/src/main.c +++ b/tools/apps/setup-wizard/src/main.c @@ -53,6 +53,13 @@ static void __krate_request_done(const char *from, const char *info, void *user_ app_control_set_app_id(app_control, KASKIT_PACKAGE); __launch_krate_app(ad->krate_manager, ad->krate_name, app_control); app_control_destroy(app_control); + } else if (!strcmp(ad->mode, "remove")) { + app_control_create(&app_control); + app_control_set_app_id(app_control, KEYGUARD_PACKAGE); + snprintf(uri, sizeof(uri), "krate://cleanup/%s", ad->krate_name); + app_control_set_uri(app_control, uri); + app_control_send_launch_request(app_control, NULL, NULL); + app_control_destroy(app_control); } ad->request_done = true; -- 2.7.4