summaryrefslogtreecommitdiff
path: root/gsi_service.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gsi_service.cpp')
-rw-r--r--gsi_service.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/gsi_service.cpp b/gsi_service.cpp
index 41b8811..14ef1d4 100644
--- a/gsi_service.cpp
+++ b/gsi_service.cpp
@@ -301,13 +301,7 @@ binder::Status GsiService::enableGsi(bool one_shot, const std::string& dsuSlot,
}
if (installer_) {
ENFORCE_SYSTEM;
- int status = installer_->FinishInstall();
installer_ = {};
- if (status != IGsiService::INSTALL_OK) {
- *_aidl_return = status;
- LOG(ERROR) << "Installation failed, cannot enable DSU for slot: " << dsuSlot;
- return binder::Status::ok();
- }
// Note: create the install status file last, since this is the actual boot
// indicator.
if (!SetBootMode(one_shot) || !CreateInstallStatusFile()) {