diff options
author | Lorenzo Colitti <lorenzo@google.com> | 2015-02-11 07:39:20 +0900 |
---|---|---|
committer | Lorenzo Colitti <lorenzo@google.com> | 2015-02-11 11:03:50 +0900 |
commit | 0831f66f1949307bae54ccf01d70283005467085 (patch) | |
tree | 9e44ea080932976cb8eff4a52f3bcf464cd094c5 /MODULE_LICENSE_APACHE2 | |
parent | d6a7980dd9a52f082091cf000095b77a9d44565d (diff) | |
download | frameworks_base-0831f66f1949307bae54ccf01d70283005467085.zip frameworks_base-0831f66f1949307bae54ccf01d70283005467085.tar.gz frameworks_base-0831f66f1949307bae54ccf01d70283005467085.tar.bz2 |
Make reportInetCondition revalidate if the report differs from our state
1. If reportInetCondition says the network is not working, and
the network is already marked not validated, don't revalidate
it. This was superfluous and should save battery.
2. If reportInetCondition says the network is working, and the
network is not marked as validated, revalidated. This will
allow us to get out of a validated state quickly based on app
input (e.g., allowing GCM's exponential backoff timer to drive
revalidation instead of our 10-minute timer).
Bug: 19258761
Bug: 19209043
Change-Id: Iaa4bac82d117ed1f4088dab106e6f6ce46b34bc3
Diffstat (limited to 'MODULE_LICENSE_APACHE2')
0 files changed, 0 insertions, 0 deletions