commit | a40c2001fa5330c4527cb61a63289c297b872401 | [log] [tgz] |
---|---|---|
author | Tianjie <xunchang@google.com> | Mon Nov 30 14:42:25 2020 -0800 |
committer | Tianjie <xunchang@google.com> | Tue Dec 08 14:29:11 2020 -0800 |
tree | 92183f5930e9ea84fb58687a6d9cfb7a7beb88a6 | |
parent | d87b1d1acec169eca89fc9d522de7728c85f3cb5 [diff] |
Add a function pointer to get active boot slot bootcontrol 1.2 adds a new function to get the active boot slot on the next boot. Since the getter is closely related to the gpt implementation of bootcontrol, we add the header here and expose to clients of libhardware. Devices with an old HAL should never call this new getter function. Bug: 173808057 Test: Vts tests for bootcontrol Change-Id: I19135ed16bf0ba546e0a8d9cb2d521ec0a9c5bbc