commit | 6e9ab0553d391e1ca25d27cae3780d0c2b3f676b | [log] [tgz] |
---|---|---|
author | Remi NGUYEN VAN <reminv@google.com> | Thu Feb 18 03:37:49 2021 +0000 |
committer | Remi NGUYEN VAN <reminv@google.com> | Thu Feb 18 03:38:34 2021 +0000 |
tree | adf3695a4ad8b7a05fa393ae6dba2ce3f30b6d00 | |
parent | 4ea84f0b97e9ccfb9d2c9c90327e2e6ca336d1b8 [diff] |
Use RouteInfo API constructor in VpnService Instead of using the RouteInfo(destination, gateway) constructor which is private API, use the RouteInfo(destination, gateway, iface, type) constructor which is system API. This separates the VpnService better from internal implementations, and is necessary to move RouteInfo to the connectivity module. Bug: 174436414 Test: m Change-Id: Idc98b2258f3c78bdba40b5fcb97769b5ad99d016