commit | d09d44ec4f84ef6b48f784ff316a66dcf548b15b | [log] [tgz] |
---|---|---|
author | David Su <dysu@google.com> | Tue Nov 05 21:41:48 2019 -0800 |
committer | David Su <dysu@google.com> | Tue Nov 05 21:41:48 2019 -0800 |
tree | 9817bda801707b6e11893da1dda180af0dfc018d | |
parent | ddea4daf1d8376a181c139fa9aa5c87880e622ae [diff] |
WifiScanner: check nullness of bundle extra In WifiScanner#getAvailableChannels(), check if the extra is null and return an empty list if that is the case to ensure that the API upholds its @NonNull guarantee. Bug: 143985829 Test: compiles Change-Id: I5abc2e6362469f77db0fa386adbe06b445aa799c