extern int aul_forward_app(const char* pkgname, bundle *kb);
+extern void __transient_app(void *data);
+
static Eina_Bool __unload_info_popup(void *data)
{
/* Evas_Object *eo = (Evas_Object *) data;
}
}
+ __transient_app(info->ad);
+
ret = aul_forward_app(info->pkg_name, info->ad->kb);
val = bundle_get_val(info->ad->kb, "__APP_SVC_CALLER_NOTI__");
if(val) {
}
}
_D("ok : aul_forward_app() pkg_name:%s ret:%d", info->pkg_name, ret);
-
- elm_exit();
}
static void __default_app_set_cancel_cb(void *data, Evas_Object * obj,
struct _select_app_info *info = (struct _select_app_info *)data;
+ __transient_app(info->ad);
+
ret = aul_forward_app(info->pkg_name, info->ad->kb);
val = bundle_get_val(info->ad->kb, "__APP_SVC_CALLER_NOTI__");
if(val) {
}
}
_D("cancel : aul_forward_app() pkg_name:%s ret:%d", info->pkg_name, ret);
-
- elm_exit();
}
elm_exit();
}
+void __transient_app(void *data)
+{
+ struct appdata *ad = (struct appdata *)data;
+ int ret;
+ Ecore_X_Window id2 = elm_win_xwindow_get(ad->win);
+ ret = appsvc_request_transient_app(ad->kb, id2, NULL, NULL);
+ if (ret) {
+ LOGD("fail to request transient app: return value(%d)", ret);
+ } else {
+ LOGD("success to request transient app");
+ }
+}
+
+
static Evas_Object *__create_win(const char *name)
{
Evas_Object *eo;
aul_launch_app(val, ad->kb);
}
- sleep(1);
elm_exit();
return 0;
Name: org.tizen.app-selector
Summary: Application selector
Version: 0.1.0
-Release: 95
+Release: 96
Group: TO_BE/FILLED_IN
License: Flora Software License
Source0: %{name}-%{version}.tar.gz