commit | e30a5c273012b87a69f858704335a73f701e0883 | [log] [tgz] |
---|---|---|
author | junyulai <junyulai@google.com> | Thu Sep 10 17:30:17 2020 +0800 |
committer | junyulai <junyulai@google.com> | Thu Sep 17 19:51:34 2020 +0800 |
tree | e6ff27b1a9fb52b267449d284e3bd46da96b3193 | |
parent | 63b0d576a0e882817c607333c85e104f76f32e42 [diff] |
Skip stop if keepalive is already in stopping state In current design, crash has been generated when stop function has been re-entered to catch unexpected behavior. However, it is possible to re-enter stop function if the network disconnection occurs after stopping. Thus, skip stop if keepalive is already in stopping state. Test: atest ConnectivityServiceTest#testNattSocketKeepalives \ --rerun-until-failure 60000 Bug: 167332570 Change-Id: Ic7068ad3dc990e957c37b8d87d48ebb6469b101f