DescriptionAU: Provide a reboot_if_needed D-Bus API.
This will reboot if the current state is UPDATED_REBOOT_NEEDED.
Also add -reboot option to the update_engine_client.
BUG=4250
TEST=unit tests,gmerged on device and tried reboot requests
Patch Set 1 #Patch Set 2 : whitespace and copyright fixes. #
Total comments: 3
Patch Set 3 : ignore -reboot if combined with other flags; some reordering #Patch Set 4 : save some vertical space #Patch Set 5 : reboot error code doesn't necessarily signal a problem. #
Messages
Total messages: 5 (0 generated)
|