| commit | 5c46d93bd8121e5681beaef0b6344471dde6980b | [log] [tgz] |
|---|---|---|
| author | Antony Sargent <asargent@google.com> | Tue May 21 09:45:26 2019 -0700 |
| committer | Antony Sargent <asargent@google.com> | Tue May 21 10:02:10 2019 -0700 |
| tree | 17f1b706b73ca2876884d8fbd21a964e23c9fb6b | |
| parent | 76cf0dbdddac718b7204f36a4d878a2f5095c92d [diff] |
Prevent NullPointerException in SimStatusDialogController In rare cases the SignalStrength we get for a SIM can be null, which wasn't checked for in this code. This CL adds a null check and fixes the tests so it's possible to verify the fix (one of the methods that would have crashed was being spy'd over unnecessarily). Fixes: 132570076 Test: make RunSettingsRobotests Change-Id: Ifdec24f184ee2d93e5e242eb2c20695249992fc6