Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 37cf5965 authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

Merge "Refine the exported DSU status" into rvc-dev am: 7fc6052f am: 5db77892

Change-Id: I188c9ba3f10d146ace3d3f91ed2f1205d1651ff1
parents b0994995 5db77892
Loading
Loading
Loading
Loading
+4 −5
Original line number Diff line number Diff line
@@ -778,11 +778,10 @@ int SecondStageMain(int argc, char** argv) {
    if (false) DumpState();

    // Make the GSI status available before scripts start running.
    if (android::gsi::IsGsiRunning()) {
        SetProperty("ro.gsid.image_running", "1");
    } else {
        SetProperty("ro.gsid.image_running", "0");
    }
    auto is_running = android::gsi::IsGsiRunning() ? "1" : "0";
    SetProperty(gsi::kGsiBootedProp, is_running);
    auto is_installed = android::gsi::IsGsiInstalled() ? "1" : "0";
    SetProperty(gsi::kGsiInstalledProp, is_installed);

    am.QueueBuiltinAction(SetupCgroupsAction, "SetupCgroups");
    am.QueueBuiltinAction(SetKptrRestrictAction, "SetKptrRestrict");