commit | 974fc878527ab716f82c8c9f89146be2ab914727 | [log] [tgz] |
---|---|---|
author | Chiachang Wang <chiachangwang@google.com> | Mon Sep 28 10:31:49 2020 +0800 |
committer | Chiachang Wang <chiachangwang@google.com> | Wed Oct 07 06:48:15 2020 +0000 |
tree | 60c01fc6ec94ecaeef8918d7c40fc5cadbf3bf91 | |
parent | 6194869dfb15565e8932c530cb13fe4fd4680aa6 [diff] |
Update to positive logic to better match the method naming The method checkInterfacePresent seems that should return if the interface is present or not, but it actually return an opposite result. It may confuse the caller. E.g. The override method in VpnTest assume it always returns true in the test. It will fail the vpn start flow due to interface gone. Bug: 169215213 Test: atest FrameworksNetTess Change-Id: I3e9a64f0900336b8205674b94db68f090b4e9ff9