commit | 45719a8f07b5062dcd9a2df03fe34b27ec2b6a91 | [log] [tgz] |
---|---|---|
author | Hridya Valsaraju <hridya@google.com> | Mon Mar 02 13:03:47 2020 -0800 |
committer | Hridya Valsaraju <hridya@google.com> | Mon Mar 02 13:14:11 2020 -0800 |
tree | 63d5b9dd3017ae124d39331bf7ea2c51d2d355a9 | |
parent | 335be083e186a32b5cc0ec32a4dda122f1876cdc [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