diff options
author | Lorenzo Colitti <lorenzo@google.com> | 2014-12-17 11:26:49 +0900 |
---|---|---|
committer | Lorenzo Colitti <lorenzo@google.com> | 2014-12-19 19:10:42 +0900 |
commit | 7b42f399430d5d4ace4efbee225bbd3ecd2d4146 (patch) | |
tree | 6038bc1534cd3e5df232636c702bec3ddaab1ff5 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | d3b8a3e77696ecd90ce59a869aaadf1e7804a9c8 (diff) |
Add a lastValidated bit and use it when reporting capabilities.
When we switched the way the status bar determines if a
connection is validated from using INET_CONDITION_ACTION
broadcasts to calling getDefaultNetworkCapabilitiesForUser(),
the statusbar stopped displaying ! when a network stopped having
working Internet connectivity. This is because the validated bit
is never set to false once a network is validated.
Fix this, hopefully temporarily, by introducing a new validated
bit that does go back to being false when a network no longer
has working connectivity, and use that bit in
getDefaultNetworkCapabilitiesForUser().
Bug: 18777225
Change-Id: I991c068be50252391d0e64c647fcf2e053dc82f9
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions