commit | 990d43cb82ed95cf16d5bfb688cfc39b29defd8b | [log] [tgz] |
---|---|---|
author | Tao Wu <lepton@google.com> | Thu Oct 26 10:43:10 2017 -0700 |
committer | Tao Wu <lepton@google.com> | Thu Oct 26 22:08:56 2017 +0000 |
tree | 2bce21704feae392002b09c10ac648a1218e6c64 | |
parent | 41a9b3c81d8a9871ab02589c300fd5859c95792e [diff] |
Fix one race condition between start and stop. For a oneshot service, if start happens immediately after stop, the service could be still in stopping status and then start won't do anything. This fix this race condition. Test: manual - see reproduce instructions in bug. Bug: 68020256 Change-Id: I20202fa346f1949a8bda3d90deedc8b6a6d814d3