Fix build error 46/275146/1
authorIlho Kim <ilho159.kim@samsung.com>
Tue, 17 May 2022 07:44:53 +0000 (16:44 +0900)
committerIlho Kim <ilho159.kim@samsung.com>
Tue, 17 May 2022 07:44:53 +0000 (16:44 +0900)
'subsession_is_supported' is removed api

Change-Id: I154c56b1dd04a643a537ba4db9b93bac1bf3246f
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
aul/app_info/directory_info.cc

index d5932eb..f404413 100644 (file)
@@ -44,19 +44,7 @@ constexpr const char kLightUserSwitchModeDefault[] = "default";
 
 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 "";