summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorPaul Stewart <pstew@google.com>2016-02-11 11:08:24 -0800
committerPaul Stewart <pstew@google.com>2016-02-11 11:16:17 -0800
commited9297991a922b88a00c04d034c172c18d550ac1 (patch)
tree5ed77892c1d86dab15edcca7100adc368bdeb73f /tools/aapt2/java/JavaClassGenerator.cpp
parentd9c4bc0c4db7a8b16d8ea0f58ed0615efc167f47 (diff)
WifiManager: Return empty scan list on remote exception
In the (hopefully rare) situation where there is a remote exception from a call to getScanResults(), do not pass null back to callers. Nobody expects this, and failures that occur as a result can distract from the real problem (e.g., the system server crashing). This CL now returns an empty list. BUG=27139097 TEST=None Change-Id: I637eae1fa8ac1a1bc2b76dea8628359b5dec06e1
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions