Make the server send ODK v18 messages by default

The core message had been throttled to only generate v17 messages because we wanted to stabilize the format before making the code live.

PiperOrigin-RevId: 524309559
Merged from https://widevine-internal-review.googlesource.com/170311

Change-Id: I2d09c9f6c73f844fd509531e86285ad71d22690f
This commit is contained in:
Fred Gylys-Colwell
2023-04-14 09:25:25 -07:00
committed by Robert Shih
parent 89666aeb89
commit ae0134b21d
2 changed files with 3 additions and 3 deletions

View File

@@ -26,8 +26,8 @@ struct CoreMessageFeatures {
// This is the published version of the ODK Core Message library. The default
// behavior is for the server to restrict messages to at most this version
// number. The default is 17.2.
uint32_t maximum_major_version = 17;
// number. The default is 18.2.
uint32_t maximum_major_version = 18;
uint32_t maximum_minor_version = 2;
bool operator==(const CoreMessageFeatures &other) const;

View File

@@ -1119,7 +1119,7 @@ std::vector<VersionParameters> TestCases() {
{0, 16, 5, 16, 5},
{0, 17, 1, 17, 1},
{0, 17, 2, 17, 2},
{0, 18, 2, 17, 2}, // Change to 18 when the default version is updated.
{0, 18, 2, 18, 2}, // Change to 19 when the default version is updated.
};
return test_cases;
}