summaryrefslogtreecommitdiff
path: root/gsi_service.h
diff options
context:
space:
mode:
authorHoward Chen <howardsoc@google.com>2019-10-28 09:40:13 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2019-10-28 09:40:13 +0000
commitce8e74c8f14a88be770c86ace7bf15a8b46d3088 (patch)
tree98d33ad0c256827df42a1babb0fbbe04301b421c /gsi_service.h
parent48fff5c6e0fb4ac75010e80391a0f8065d384f79 (diff)
parent3f6d5a6a21938e94d56bee620de3a80dafaa00fc (diff)
downloadgsid-ce8e74c8f14a88be770c86ace7bf15a8b46d3088.tar.gz
Merge "Enhance the fault tolerance of GSID installation"
Diffstat (limited to 'gsi_service.h')
-rw-r--r--gsi_service.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gsi_service.h b/gsi_service.h
index 9b4d4a0..0f06b0e 100644
--- a/gsi_service.h
+++ b/gsi_service.h
@@ -90,12 +90,14 @@ class GsiService : public BinderService<GsiService>, public BnGsiService {
static void RunStartupTasks();
static std::string GetInstalledImageDir();
+ std::string GetActiveInstalledImageDir();
private:
GsiService(Gsid* parent);
int ValidateInstallParams(GsiInstallParams* params);
bool DisableGsiInstall();
int ReenableGsi(bool one_shot);
+ static void CleanCorruptedInstallation();
enum class AccessLevel { System, SystemOrShell };
binder::Status CheckUid(AccessLevel level = AccessLevel::System);