commit | 7939bce343cb231d7b890f8886c470186e8a7fda | [log] [tgz] |
---|---|---|
author | Bogdan Caprita <caprita@google.com> | Thu Apr 30 13:33:10 2015 -0700 |
committer | Bogdan Caprita <caprita@google.com> | Thu Apr 30 13:33:13 2015 -0700 |
tree | 8cae0b93fb50f1ef1f2af7b6b728383551c90c75 | |
parent | 2ef1239bdfc8fe48b8980329c9c204afe1f2a5ca [diff] |
services/device/device: updateall: kill instance only if running; recover if err Changing updateall to only attempt to kill an instance if the instance is found to be running. If we then try Kill and it returns an error, we still check if it's running or not (since the device manager force-kills the app) and recover. Before, we used to leave the app not running and exit, which not only left the updates in a partial state, but also left previously running instances dead. Also, update the kill deadline to 10 seconds, and use it consistently between the 'kill' and 'updateall' commands. Change-Id: Ib129b94536739b385401d68f509e860a786d7650
This repository contains a reference implementation of the Vanadium APIs.
Unlike the APIs in https://github.com/vanadium/go.v23, which promises to provide backward compatibility this repository makes no such promises.