If the profile is tv, the library does not check whether the alias appid
exists or not.
Change-Id: I504d6970a334664633a6aff4dee456cee8691653
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
return AUL_SVC_RET_EINVAL;
}
- std::string alias_id = ::GetAliasAppId(appid);
- if (!alias_id.empty())
- appid = alias_id.c_str();
+ if (TIZEN_FEATURE_APPSVC_ALIAS) {
+ std::string alias_id = ::GetAliasAppId(appid);
+ if (!alias_id.empty())
+ appid = alias_id.c_str();
+ }
return ::SetBundle(b, AUL_SVC_K_PKG_NAME, appid);
}
#define TIZEN_FEATURE_SOCKET_TIMEOUT (_get_tizen_profile() & TIZEN_PROFILE_TV)
#define TIZEN_FEATURE_SHARE_PANEL (_get_tizen_profile() & TIZEN_PROFILE_MOBILE)
+#define TIZEN_FEATURE_APPSVC_ALIAS (!(_get_tizen_profile() & TIZEN_PROFILE_TV))
#ifdef __cplusplus
}