diff options
author | David Anderson <dvander@google.com> | 2019-10-30 13:07:33 -0700 |
---|---|---|
committer | David Anderson <dvander@google.com> | 2019-11-10 17:17:45 -0800 |
commit | 953ea5dac0ca5aa3986bea47c157554cb2f96bd5 (patch) | |
tree | 13c081aba88c64517dec7fc03f3d4922688a08ce /bootctrl/LegacyBootControl.h | |
parent | 82f2f39a0d0b718c2975ef886f9a8d48470034e1 (diff) |
bootctrl: Fix vendor space usage to not conflict with theme data.
Pixel writes theme data to the first bytes of vendor space, and reserves
the first 32x32 bytes for other such flags (such as the SOTA flag). To
avoid conflicts, instead use new AOSP-generic methods in
bootloader_message and libboot_control.
Bug: 139156011
Test: manual test
Change-Id: I7f31847acc21a0eeb46640cb9ed70be2a3f9531c
Diffstat (limited to 'bootctrl/LegacyBootControl.h')
-rw-r--r-- | bootctrl/LegacyBootControl.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bootctrl/LegacyBootControl.h b/bootctrl/LegacyBootControl.h index 64bc797..0653cbd 100644 --- a/bootctrl/LegacyBootControl.h +++ b/bootctrl/LegacyBootControl.h @@ -31,7 +31,8 @@ using ::android::hardware::Return; using ::android::hardware::boot::V1_0::BoolResult; struct BootControl : public BootControlShared { - BootControl(boot_control_module_t *module); + explicit BootControl(boot_control_module_t *module); + // Methods from ::android::hardware::boot::V1_0::IBootControl follow. Return<uint32_t> getNumberSlots() override; Return<uint32_t> getCurrentSlot() override; |