summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorSundeep Ghuman <sghuman@google.com>2018-01-24 20:32:35 -0800
committerSundeep Ghuman <sghuman@google.com>2018-01-26 13:49:35 -0800
commit8d157e38f201b05c2a73c798d9a9a9e94f7975f3 (patch)
tree3164d0de28a8537217fb6f825bdb05288d9f3048 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent86cc9b7f5cebb2e1e7ed214c57d6132a0ce50959 (diff)
Remove unused variables and resulting conditionals.
WifiTracker always is used in 'includeScans' mode, and is never used in includeSaved mode. The former variable was not even referenced. The original functionality of includeSaved true and includeScans mode was for rendering the Saved Access Points page, which is now provided by another utility. All calling apps currently filter out unreachable saved networks they receive from WifiTracker. Subsequent CLs will modify the updateAccessPointsLocked loop to simply insert config data into existing APs, thus reducing the complexity of thi class. Bug: 68030053 Test: runtest --path frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/WifiTrackerTest.java Change-Id: I7adb6de2e700c48543d7a43419527052f2909cc0
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions