const auto& privileges = privileges_info->GetPrivileges();
for (auto& priv : privileges) {
- // TODO: remove duplicates
+ // TODO(s89.jang): remove duplicates
info->privilege_list = g_list_append(info->privilege_list,
strdup(priv.first.c_str()));
}
const uid_t kTestUserId = kGlobalUserUid;
const gid_t kTestGroupId = kGlobalUserGid;
const char kSystemShareGroupName[] = "system_share";
-const std::string kTestUserIdStr = std::to_string(kTestUserId);
-const std::string kDefaultUserIdStr = std::to_string(kDefaultUserUid);
+const std::string& kTestUserIdStr = std::to_string(kTestUserId);
+const std::string& kDefaultUserIdStr = std::to_string(kDefaultUserUid);
const char kLegacyExtImageDir[] = "legacy_extimage_dir";
const char kMigrateTestDBName[] = "app2sd_migrate.db";