diff options
| author | 2022-08-18 18:39:31 -0700 | |
|---|---|---|
| committer | 2022-08-18 19:21:18 -0700 | |
| commit | ec65e54a90f10e9afa4393eea10392b36b7f0ef0 (patch) | |
| tree | 81844b84dafe424f7d40fa6786e4492d678b763b /libs/androidfw/ResourceTimer.cpp | |
| 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
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions