summaryrefslogtreecommitdiff
path: root/tools/aapt2/diff/Diff.cpp
diff options
context:
space:
mode:
authorLorenzo Colitti <lorenzo@google.com>2016-07-06 19:04:26 +0900
committerLorenzo Colitti <lorenzo@google.com>2016-07-07 14:50:12 +0900
commit446598c083162d489a5a4576e7958ae87b900870 (patch)
treed44d977b61ed47f8d07c59aee7f8f74e45e70916 /tools/aapt2/diff/Diff.cpp
parentb4db945883fa7c2e1aa43eaaced732c97a751be5 (diff)
Prepare to delete useless loop in handleReleaseNetworkRequest.
As explained in the TODO, the loop serves no purpose since only one network can be satisfying a given request at a time. Instead of looping, look up the nai in the mNetworkForRequestId array that exists for this purpose. Keep the loop around with an Slog.wtf statement on it so we can see if we ever hit it, and add a TODO to delete it if we don't. Bug: 23113288 Change-Id: I173de4bd45c5a4169b7a062a981f2ecccaa44143
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions