Update .oat version after disabling partial LSE.
This will ensure we don't take any .oat file that has the bogus
generated code.
Test: test.py
Bug: 197981962
Change-Id: Ic14d18d310bdcd408c1f6e2777ef53a041fb2f12
diff --git a/runtime/oat.h b/runtime/oat.h
index 811fda7..6f59085 100644
--- a/runtime/oat.h
+++ b/runtime/oat.h
@@ -32,8 +32,8 @@
class PACKED(4) OatHeader {
public:
static constexpr std::array<uint8_t, 4> kOatMagic { { 'o', 'a', 't', '\n' } };
- // Last oat version changed reason: Removal of mterp.
- static constexpr std::array<uint8_t, 4> kOatVersion { { '1', '9', '7', '\0' } };
+ // Last oat version changed reason: Disable partial LSE b/197818595.
+ static constexpr std::array<uint8_t, 4> kOatVersion { { '1', '9', '8', '\0' } };
static constexpr const char* kDex2OatCmdLineKey = "dex2oat-cmdline";
static constexpr const char* kDebuggableKey = "debuggable";