Tizen platform blocks install or update of user package
when same package is already installed as global.
Change-Id: I8e429c5ce5069a4ffc75ac44312ab6e98cb2c185
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
case RequestMode::USER:
if (uid_ != uids[i])
continue;
- // if global pkg is installed,
- // user pkg operation will be handled as update.
- if (pkg_query_for_global.IsPackageInstalled(ci::RequestMode::GLOBAL))
- user_list_.emplace_back(uids[i], RequestType::Update);
- else
- user_list_.emplace_back(uids[i], request_type_);
+ user_list_.emplace_back(uids[i], request_type_);
break;
default:
user_list_.emplace_back(uids[i], request_type_);