diff options
author | Hwankyu Jhun <h.jhun@samsung.com> | 2016-02-24 20:27:36 +0900 |
---|---|---|
committer | Hwankyu Jhun <h.jhun@samsung.com> | 2016-02-25 07:15:02 +0900 |
commit | f8c3b57808e6434dd43e8257c0c3afdde43ed5a8 (patch) | |
tree | 033943eceb2b153fc7b8105cf7101089cf129bb0 | |
parent | de28b75969f00639313946774c54b7f7781955fc (diff) | |
download | launchpad-f8c3b57808e6434dd43e8257c0c3afdde43ed5a8.tar.gz launchpad-f8c3b57808e6434dd43e8257c0c3afdde43ed5a8.tar.bz2 launchpad-f8c3b57808e6434dd43e8257c0c3afdde43ed5a8.zip |
Add api-version to the environmentsubmit/tizen/20160225.031452accepted/tizen/wearable/20160225.082521accepted/tizen/tv/20160225.082501accepted/tizen/mobile/20160225.082451accepted/tizen/ivi/20160225.082536
Change-Id: Ib62a49520d3467042b36b6e1c4ef0d5deaf8e03f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
-rw-r--r-- | inc/key.h | 1 | ||||
-rw-r--r-- | src/launchpad_common.c | 3 |
2 files changed, 4 insertions, 0 deletions
@@ -41,6 +41,7 @@ extern "C" { #define AUL_K_WAYLAND_DISPLAY "__AUL_WAYLAND_DISPLAY__" #define AUL_K_WAYLAND_WORKING_DIR "__AUL_WAYLAND_WORKING_DIR__" #define AUL_K_ROOT_PATH "__AUL_ROOT_PATH__" +#define AUL_K_API_VERSION "__AUL_API_VERSION__" #ifdef __cplusplus } diff --git a/src/launchpad_common.c b/src/launchpad_common.c index c3f942d..97b868f 100644 --- a/src/launchpad_common.c +++ b/src/launchpad_common.c @@ -607,6 +607,9 @@ void _set_env(appinfo_t *menu_info, bundle * kb) if (str != NULL) setenv("XDG_RUNTIME_DIR", str, 1); + str = bundle_get_val(kb, AUL_K_API_VERSION); + if (str != NULL) + setenv("TIZEN_API_VERSION", str, 1); } char** _create_argc_argv(bundle * kb, int *margc) |