• Benedict Wong's avatar
    DO NOT MERGE: Fix ConnectivityController meteredness checks · dcdeaf8b
    Benedict Wong authored
    This patch corrects ConnectivityController's meteredness checks to
    perform correct meteredness checks while VPNs are running. This fixes a
    bug in O-MR1 where any apps using the DownloadProvider with unmetered
    network constraints fail to start while the VPN is enabled.
    
    This change adds a bespoke method for ConnectivityController, allowing
    it to correctly identify the meteredness without affecting public API
    surfaces.
    
    Bug: 78644887
    Test: Built, flashed on Walleye, and tested.
    Test: Additional test coverage in subsequent patch(es).
    Change-Id: Ie1d11d93d51d936ce81cd5984af61bde30325983
    (cherry picked from commit d08ab5a6)
    dcdeaf8b
Name
Last commit
Last update
apct-tests/perftests Loading commit data...
api Loading commit data...
cmds Loading commit data...
config Loading commit data...
core Loading commit data...
data Loading commit data...
docs Loading commit data...
drm Loading commit data...
graphics/java/android Loading commit data...
keystore Loading commit data...
legacy-test Loading commit data...
libs Loading commit data...
location Loading commit data...
lowpan Loading commit data...
media Loading commit data...
native Loading commit data...
nfc-extras Loading commit data...
obex Loading commit data...
opengl/java Loading commit data...
packages Loading commit data...
proto Loading commit data...
rs Loading commit data...
samples/training/network-usage Loading commit data...
sax Loading commit data...
services Loading commit data...
telecomm/java Loading commit data...
telephony/java Loading commit data...
test-runner Loading commit data...
tests Loading commit data...
tools Loading commit data...
vr Loading commit data...
wifi Loading commit data...
Android.bp Loading commit data...
Android.mk Loading commit data...
CleanSpec.mk Loading commit data...
MODULE_LICENSE_APACHE2 Loading commit data...
NOTICE Loading commit data...
PREUPLOAD.cfg Loading commit data...
pathmap.mk Loading commit data...