Add an overload function in boot control am: 51a5a39c89 am: 9fb59afaa0 am: 48fefddcc9

Original change: https://android-review.googlesource.com/c/platform/system/update_engine/+/1326711

Change-Id: I6d4148cdecd1678c35e6b6ec2b72764e8bf5385f