diff options
author | Hridya Valsaraju <hridya@google.com> | 2020-03-02 13:03:47 -0800 |
---|---|---|
committer | Hridya Valsaraju <hridya@google.com> | 2020-03-03 17:38:19 +0000 |
commit | 6c889bb9cb9f5146da4c323de0368f3f1609dea0 (patch) | |
tree | 8d041b2f2cf743696149ba16c2d486e5159e5cac /init/builtins.cpp | |
parent | 2c005614f59641217d3bf622f9d7751d869eb8ff (diff) |
fastbootd: use FastbootDevice::GetCurrentSlot to get current slot suffix
Using FastbootDevice::GetCurrentSlot to get the current slot suffix
instead of reading the same from the device's boot control HAL
is required to account for the prior set_active commands issued via
fastbootd in the same boot.
Test: fuzzy_fastboot
--gtest_filter=Conformance.Slots:Conformance.SetActive --gtest_repeat=10
Bug: 146589281
Change-Id: I2edb0f024d93c2483659623423ef5c69c717c7af
Merged-In: I2edb0f024d93c2483659623423ef5c69c717c7af
Diffstat (limited to 'init/builtins.cpp')
0 files changed, 0 insertions, 0 deletions