Add comment for per-app preference priority

Clarify that only the highest priority preference is applied if the uid
is target of multiple preferences.

Test: TH
Change-Id: I55b6a37995bcfe876ed609cf653077df2b5e7615
This commit is contained in:
Motomu Utsumi 2024-04-26 18:30:43 +09:00
commit 300a83cc15

View file

@ -552,6 +552,8 @@ public class ConnectivityService extends IConnectivityManager.Stub
* default network for each app.
* Order ints passed to netd must be in the 0~999 range. Larger values code for
* a lower priority, see {@link NativeUidRangeConfig}.
* Note that only the highest priority preference is applied if the uid is the target of
* multiple preferences.
*
* Requests that don't code for a per-app preference use PREFERENCE_ORDER_INVALID.
* The default request uses PREFERENCE_ORDER_DEFAULT.