commit | ec65e54a90f10e9afa4393eea10392b36b7f0ef0 | [log] [tgz] |
---|---|---|
author | Nathan Harold <nharold@google.com> | Thu Aug 18 18:39:31 2022 -0700 |
committer | Nathan Harold <nharold@google.com> | Thu Aug 18 19:21:18 2022 -0700 |
tree | 81844b84dafe424f7d40fa6786e4492d678b763b | |
parent | e648d3cb91f9a0156c729ca18ec27e71f59f9ce2 [diff] |
Ensure that onCellInfo is always NonNull During phone creation and phone count changes, it was possible to get a null value for onCellInfo(). Since the API is documented as NonNull, always return a non-null value, forcing an empty list in case there is still a null lurking somewhere else. Bug: 237964039 Test: atest TelephonyRegistryTest#testCellInfoChanged Change-Id: I3b46c211f5542a39187b9d3b137f8483c44ccd39