commit | a1365e7358b928ed833e90eee58bd39e1d8ac6af | [log] [tgz] |
---|---|---|
author | Chiachang Wang <chiachangwang@google.com> | Tue Jun 22 13:15:21 2021 +0000 |
committer | Chiachang Wang <chiachangwang@google.com> | Wed Jun 23 00:54:52 2021 +0000 |
tree | 26e24d1a01430f59c163ef393381c6b3b42e223d | |
parent | 05146ed64ac35002f58f3fcd53a66e13989d6f5a [diff] |
Add fall back to createTunInterface when running on R TNM.createTunInterface() takes different parameter from S. GTS is multi-release, so it should be compatible with S and before S build. Add sdk version check to support it. Bug: 186680038 Test: atest GtsNetworkStackHostTestCases:\ com.google.android.gts.networkstack.NetworkStackHostTest#\ testNetworkStack Original-Change: https://android-review.googlesource.com/1742033 Merged-In: I5a08068db43e507637a53a32c15a5eb453d50c32 Change-Id: I5a08068db43e507637a53a32c15a5eb453d50c32