commit | 55db3806bbbe50c13ef300134105c63bdc04a839 | [log] [tgz] |
---|---|---|
author | Ken Chen <cken@google.com> | Tue Mar 30 13:47:49 2021 +0800 |
committer | Ken Chen <cken@google.com> | Wed Mar 31 10:06:59 2021 +0800 |
tree | 3c23ef33acc52ec40ca87c7f903d4e88147f21d4 | |
parent | 6559f1a39fb18efbc9aa194cba73df45f8a741d1 [diff] |
Swap the priority of UID_DEFAULT_UNREACHABLE and UID_DEFAULT_NETWORK Let UID_DEFAULT_NETWORK has higher priority than UID_DEFAULT_UNREACHABLE. Otherwise, the app will be told by ConnectivityService that it has a network in step 1 of the scenario below, which may potentially cause a user-visible error. framework --> netd step 1: add uid to OEM-paid network list step 2: remove uid from unreachable network Test: atest Change-Id: I3fa49449b9d593b4a0346e8c2cb8d334628c0294