summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorFelipe Leme <felipeal@google.com>2016-02-08 10:12:01 -0800
committerFelipe Leme <felipeal@google.com>2016-02-08 12:39:44 -0800
commitb1a65ee161d2dd1bb5fee752659350d43102fd0c (patch)
tree812868082563fc4aafe11a9090f26043d8e6c5ec /tools/aapt2/java/JavaClassGenerator.cpp
parented330c7f7d98eabce8562ce34d5877a323c745ac (diff)
Changed list metered-networks so it returns all networks.
Prior to this change it was relying on NMPS.getNetworkPolicies(), which would not return networks that never had any policy attribute (like metered) set. This change fix this problem by also querying the WifiManager for the list of saved wi-fi networks. In fact, the new logic is very similar to what's done on SettingLib's NetworkPolicyEditor. BUG: 26685616 Change-Id: I42f37de3a7367718036f45b15c6b5d37b67e7d01
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions