Bump vdex version
Since the quickening info offset table format changed, we need to
bump the vdex version to prevent corruption.
Bug: 72608794
Test: m
Change-Id: I62842239ee1f19e53b4c3a9869964bc5bc75a666
diff --git a/runtime/vdex_file.h b/runtime/vdex_file.h
index 0c7200f..d27f431 100644
--- a/runtime/vdex_file.h
+++ b/runtime/vdex_file.h
@@ -88,8 +88,8 @@
private:
static constexpr uint8_t kVdexMagic[] = { 'v', 'd', 'e', 'x' };
- // Last update: Fix separate section for compact dex data.
- static constexpr uint8_t kVdexVersion[] = { '0', '1', '7', '\0' };
+ // Last update: Change quickening info table format.
+ static constexpr uint8_t kVdexVersion[] = { '0', '1', '8', '\0' };
uint8_t magic_[4];
uint8_t version_[4];