commit | ed9297991a922b88a00c04d034c172c18d550ac1 | [log] [tgz] |
---|---|---|
author | Paul Stewart <pstew@google.com> | Thu Feb 11 11:08:24 2016 -0800 |
committer | Paul Stewart <pstew@google.com> | Thu Feb 11 11:16:17 2016 -0800 |
tree | 5ed77892c1d86dab15edcca7100adc368bdeb73f | |
parent | d9c4bc0c4db7a8b16d8ea0f58ed0615efc167f47 [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