commit | 657656b4603ad158ba9477b8f266625f168d26e3 | [log] [tgz] |
---|---|---|
author | Chiachang Wang <chiachangwang@google.com> | Tue Jan 11 17:09:47 2022 +0800 |
committer | Chiachang Wang <chiachangwang@google.com> | Tue Jan 11 13:46:47 2022 +0000 |
tree | 764598e0cff905cb7392c4d43cc7b04ff6728aa7 | |
parent | 2a3830faabb4eeb03f47b7796b0c262cddab1fd2 [diff] |
Only set excludeLocalRoutes in the bypassable VpnProfile fromVpnProfile() will be called in the system server directly. If the input VpnProfile does not set excludeLocalRoute with a bypassable VPN, it will crash system server. Thus, only set the excludeLocalRoutes in the bypassable VpnProfile. Bug: 184750836 Test: atest FrameworksNetTests Change-Id: I311cc7e3c46ab4f6721f477f227e76ba4c0712f6