summaryrefslogtreecommitdiff
path: root/scripts/blockdiff.py
diff options
context:
space:
mode:
authorWeidong Guo <weidongg@chromium.org>2018-01-04 19:41:56 -0800
committerchrome-bot <chrome-bot@chromium.org>2018-01-05 21:14:20 -0800
commit840703a4cc77228e2606f45665ae3a4bd75ff7dd (patch)
tree50168953938668a117449168350db8b02cb7bef3 /scripts/blockdiff.py
parentb05a65a748bd2e2542e7b05f629d3bc69c8d8135 (diff)
Fix update over cellular network on guest account
Device policy is not loaded for guest account. When a user check for update over cellular network, the update engine does not allow so. Changes: Allow updates over cellular in IsUpdateAllowedOver() if device policy is not loaded, because this should be treated the same as device policy having not update setting. Overwrite decision made by IsUpdateAllowedOver() with user preferences if device policy is not loaded or does not have update setting. BUG=chromium:799185 TEST=ConnectionManagerTest.AllowUpdatesOver3GIfPolicyFailsToBeLoaded Change-Id: Ica96384f87a07a03caafbe000ee62edf8132ce6d Reviewed-on: https://chromium-review.googlesource.com/851733 Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com> Tested-by: Weidong Guo <weidongg@chromium.org> Reviewed-by: Amin Hassani <ahassani@chromium.org> Reviewed-by: Ben Chan <benchan@chromium.org> Reviewed-by: Sen Jiang <senj@chromium.org>
Diffstat (limited to 'scripts/blockdiff.py')
0 files changed, 0 insertions, 0 deletions