From bb3bc961d43ab1cd89c573dfe92cc4f16b16fca6 Mon Sep 17 00:00:00 2001 From: lishutong Date: Fri, 23 Jul 2021 15:50:25 +0000 Subject: [PATCH] Add support for chain OTA generation. To upgrade from the Android version A to Android version D, one could directly generate an OTA package from A to D. But chances are (a) this OTA package can be large and unstable (b) there are multiple other devices are on version B or C. So generation of chain OTA packages (A-->B-->C-->D) can help life easier. Users will be able to select and sort the Android build in `ChainOTAOptions.vue` component, and submit multiple jobs at the same time using a OTAConfiguration from `JobSubmission.js`. Test: Mannual tested. Change-Id: I9f16f981af80900c18a571162146ce218ea96387 --- .../otagui/src/components/ChainOTAOptions.vue | 80 +++++++++++++++++++ tools/otagui/src/components/FileList.vue | 61 ++++++++++++-- tools/otagui/src/services/JobSubmission.js | 22 +++++ tools/otagui/src/views/JobConfigure.vue | 5 +- 4 files changed, 162 insertions(+), 6 deletions(-) create mode 100644 tools/otagui/src/components/ChainOTAOptions.vue diff --git a/tools/otagui/src/components/ChainOTAOptions.vue b/tools/otagui/src/components/ChainOTAOptions.vue new file mode 100644 index 000000000..d4e394436 --- /dev/null +++ b/tools/otagui/src/components/ChainOTAOptions.vue @@ -0,0 +1,80 @@ + + + \ No newline at end of file diff --git a/tools/otagui/src/components/FileList.vue b/tools/otagui/src/components/FileList.vue index 5b0248fec..8dfb876d1 100644 --- a/tools/otagui/src/components/FileList.vue +++ b/tools/otagui/src/components/FileList.vue @@ -14,13 +14,48 @@ {{ build }} - - Remove selected item - + + + Remove selected item + + + + + 🔼 + + + + + 🔽 + + +