summaryrefslogtreecommitdiff
path: root/tools/aapt2/diff/Diff.cpp
diff options
context:
space:
mode:
authorChristopher Tate <ctate@google.com>2017-03-15 11:07:46 -0700
committerChristopher Tate <ctate@google.com>2017-03-30 15:14:58 -0700
commit8bbe7042739e4e047dfc1a1f6d6b48e6694c1927 (patch)
treea5f8a82b96578df62f1f846b9a4d677ab62ef094 /tools/aapt2/diff/Diff.cpp
parent474662da390937a95ed2e3b3acdae00c92be47d8 (diff)
Don't run jobs when connectivity is not validated
Previously, the job scheduler would run jobs with connectivity constraints as soon as "raw" connectivity was achieved. This could cause problems, though, because the device might be behind a captive portal or similar, so apps expecting to contact the internet would still see connect() failures or other unexpected results. We now run such jobs only when connectivity has been validated, so jobs have a stronger expectation that their needed internet access will be possible. Bug 28346529 Bug 36137931 Test: manual; use tethered phone hotspot, both with and without SIM, and verify that the 'validation' trigger is correct. Change-Id: I79194467610ef9611d38f871d01f92044d0ee9de
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions