commit | 6d7c7a2156f3f260cc8ba7ca0ebb8196c0324ba2 | [log] [tgz] |
---|---|---|
author | David Anderson <dvander@google.com> | Fri Dec 03 15:48:16 2021 -0800 |
committer | David Anderson <dvander@google.com> | Fri Dec 03 15:49:39 2021 -0800 |
tree | ce42c70e1e474b6f7ae88c207b408868f6c0b509 | |
parent | e8e5b5bb28a80cdfd296fe86f38dd7b089ef1f30 [diff] |
init: Add --only-if-running argument to restart command. If surfaceflinger crashes before zygote starts, it will restart zygote too early. Add this argument will allow it to only restart zygote if it's already running. Bug: 197224273 Test: manual test Change-Id: I0ac8dbeaf0a002f8cfcfcc0f63d4b90d08393c5c