Only uninstall case requres this signal.
Change-Id: I5506916da2063b949a44c92c0e989bb23707b66a
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
(cherry picked from commit
d346cdc12c0f33b77c69e54dfe482a76dfcc802b)
state_ = State::STARTED;
// workaround for pkgmgr client to know all appids which are uninstalled
- if (request_type_ == ci::RequestType::Uninstall)
+ if (request_type_ == ci::RequestType::Uninstall) {
if (!SendAppids(type, pkgid))
return false;
- for (auto l : user_list_)
- SendAppids(l.first, type, pkgid);
+ for (auto l : user_list_)
+ SendAppids(l.first, type, pkgid);
+ }
return true;
}