commit | 710b9bfa09d71aca82de172740492c6cd0fa46ab | [log] [tgz] |
---|---|---|
author | Naveen Ramaraj <nramaraj@codeaurora.org> | Thu May 05 10:28:04 2016 -0700 |
committer | Ed Tam <etam@google.com> | Mon May 09 10:58:31 2016 -0700 |
tree | d54d6c6eb020d45df13562761143a20ebde48ecd | |
parent | 2af2922e5d00ab13fc7ec716132b8cda8821999e [diff] |
bootcontrol: Update a check in set_active_boot_slot set_active_boot_slot used to call into get_current_slot and assumed it would get the currently active slot. get_current_slot has been updated to return the slot number from which we currently booted instead of it's earlier implementation which was to return the active slot. We now have a new function to return the current active slot which set_active_boot_slot calls. Change-Id: I191bb7c7f49ff75b972efb4a65e9bc9872c6e3d8