summaryrefslogtreecommitdiff
path: root/core/java/android/inputmethodservice/AbstractInputMethodService.java
diff options
context:
space:
mode:
authorBenedict Wong <benedictwong@google.com>2021-07-19 15:26:56 -0700
committerBenedict Wong <benedictwong@google.com>2021-07-21 00:44:19 +0000
commit8d6f7c7280231cb9e48188dd8d48795d59bd7c3a (patch)
treea58781ff83dbcaa3c122a92e63b9131c3f883791 /core/java/android/inputmethodservice/AbstractInputMethodService.java
parent9ffdbe8b2a47a56b9ffb5791d2ef64b75dac1bac (diff)
Set TRANSPORT_PRIMARY for VCN NetworkOffers and NetworkAgents
This change sets TRANSPORT_PRIMARY for all NetworkScore objects passed to ConnectivityService by the VCN. Without this patch, a VCN in safe mode will never get any NetworkRequests, since the new Policy-based NetworkRanker always prioritizes a existing satisfier of a network, regardless of score. However, a higher-priority policy check ensures that a TRANSPORT_PRIMARY request is used if it exists. This changes the VCN to utilize that functionality. Bug: 194122634 Test: atest FrameworksVcnTests Change-Id: I3a298a6c4c594c6e224f3f05764614802c00e9b0
Diffstat (limited to 'core/java/android/inputmethodservice/AbstractInputMethodService.java')
0 files changed, 0 insertions, 0 deletions