diff options
author | David Anderson <dvander@google.com> | 2019-02-19 12:59:05 -0800 |
---|---|---|
committer | David Anderson <dvander@google.com> | 2019-02-19 13:03:52 -0800 |
commit | a4d530cbcd95124a1aebaedf9a676d6b8188b4df (patch) | |
tree | 8bac66028d738745eec7a821fa25d20e2d32b58e /include | |
parent | 9bd3d0b882125b2bb67f479291490e91b3bc2b34 (diff) | |
download | gsid-a4d530cbcd95124a1aebaedf9a676d6b8188b4df.tar.gz |
Expose the ro.gsid.image_running property name in libgsi.h.
Bug: 123716647
Test: manual test
Change-Id: I0f246cd4c33dc84dbd79e2fc2eb371db916109ce
Diffstat (limited to 'include')
-rw-r--r-- | include/libgsi/libgsi.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libgsi/libgsi.h b/include/libgsi/libgsi.h index 3daadbb..55e7181 100644 --- a/include/libgsi/libgsi.h +++ b/include/libgsi/libgsi.h @@ -25,6 +25,8 @@ static constexpr char kGsiServiceName[] = "gsiservice"; static constexpr char kGsiBootedIndicatorFile[] = "/metadata/gsi/booted"; +static constexpr char kGsiBootedProp[] = "ro.gsid.image_running"; + static constexpr int kMaxBootAttempts = 1; // Returns true if the currently running system image is a live GSI. |