diff options
author | Håkan Kvist <hakan.kvist@sony.com> | 2020-07-02 17:27:06 +0200 |
---|---|---|
committer | Alessio Balsini <balsini@google.com> | 2020-07-14 13:11:23 +0100 |
commit | 6cbcea87a648bc236c8ec97914e342f4a0c4e8a5 (patch) | |
tree | 0b035ddca802cb37fd548a6d3d7c55e7a621aac5 /CleanSpec.mk | |
parent | 9f0e7264b2c7cd7f20c7ce559e1692b93c67a430 (diff) | |
download | extras-6cbcea87a648bc236c8ec97914e342f4a0c4e8a5.tar.gz |
Make bootctl work on devices that does not have v1.1 APIandroid-cts-11.0_r2android11-dev
Execute the commands with the API version where the command was
introduced. This makes it possible to run the v1.0 HAL commands on
a device where v1.1 HAL implementation is not available.
Without this patch, on devices that only support bootcontrol v1.0 API,
bootctl would just fail with error message.
Bug: 160405575
Test: Execute command on device that only implements v1.0 API
adb shell bootctl hal-info
Change-Id: I56e9a81bcae49b6859b04394d571b5151a235675
Signed-off-by: Håkan Kvist <hakan.kvist@sony.com>
Signed-off-by: Alessio Balsini <balsini@google.com>
Diffstat (limited to 'CleanSpec.mk')
0 files changed, 0 insertions, 0 deletions