Merge "Add more enums to the ota type"

This commit is contained in:
Tianjie Xu 2020-09-01 03:16:59 +00:00 committed by Gerrit Code Review
commit 6f2a44a0d9
1 changed files with 4 additions and 2 deletions

View File

@ -64,8 +64,10 @@ message DeviceState {
// and prerequisite to install the update correctly.
message OtaMetadata {
enum OtaType {
AB = 0;
BLOCK = 1;
UNKNOWN = 0;
AB = 1;
BLOCK = 2;
BRICK = 3;
};
OtaType type = 1;
// True if we need to wipe after the update.