'subsession_is_supported' is removed api
Change-Id: I154c56b1dd04a643a537ba4db9b93bac1bf3246f
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
std::string GetCurrentLightUser(uid_t uid) {
int user = 0;
- int supported = 0;
- int ret = subsession_is_supported(&supported);
- if (ret != TIZEN_ERROR_NONE) {
- _E("Failed to get subsession supported. error(%d)", ret);
- return "";
- }
-
- if (!supported) {
- _D("subsession is not supported");
- return "";
- }
-
- ret = subsession_get_current_user(uid, &user);
+ int ret = subsession_get_current_user(uid, &user);
if (ret != TIZEN_ERROR_NONE) {
_E("Failed to get subsession current user. error(%d)", ret);
return "";