summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYo Chiang <yochiang@google.com>2020-11-04 04:09:52 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-11-04 04:09:52 +0000
commit7a240ab7e73244f82b14d58685d917aed01cef27 (patch)
treec9e6505368e6b192fa64df1cd00f6ca594a0a2a0
parentb57eb6c4e519414919d6f8f473d095fc6054f099 (diff)
parentb465fe24cdc5c1fcfb69c49d8f0e2700c9657bae (diff)
downloadgsid-7a240ab7e73244f82b14d58685d917aed01cef27.tar.gz
Merge "Add constants kDsuScratch and kDsuUserdata" am: 053df534d7 am: b465fe24cd
Original change: https://android-review.googlesource.com/c/platform/system/gsid/+/1469542 Change-Id: Icbece4cf356634d825a7dc8ccb5ab24f6264f8f8
-rw-r--r--include/libgsi/libgsi.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/libgsi/libgsi.h b/include/libgsi/libgsi.h
index 9a571f9..1e3cd07 100644
--- a/include/libgsi/libgsi.h
+++ b/include/libgsi/libgsi.h
@@ -74,6 +74,9 @@ static constexpr char kGsiInstalledProp[] = "gsid.image_installed";
static constexpr char kDsuPostfix[] = "_gsi";
+inline constexpr char kDsuScratch[] = "scratch_gsi";
+inline constexpr char kDsuUserdata[] = "userdata_gsi";
+
static constexpr int kMaxBootAttempts = 1;
// Get the currently active dsu slot