Fix null handling of getAllCellInfo
authorRobert Greenwalt <rgreenwalt@google.com>
Wed, 19 Aug 2015 19:28:56 +0000 (12:28 -0700)
committerRobert Greenwalt <rgreenwalt@google.com>
Wed, 19 Aug 2015 19:33:21 +0000 (19:33 +0000)
commit01144882e1521dadd3d20fbb7aaa75758deb5285
tree14430377ba0a1fb4ea9daa42772a84efeab605d9
parent69027fb2fbdb046467b8902ebc70120b89301cee
Fix null handling of getAllCellInfo

ServiceStateTracker.getAllCellInfo may return null, but
PhoneBase.privatizeCellInfoList may dereference that.  Check
for null rather than crash the phone.

bug:23201508
Change-Id: I26fcfc015fa1a8d1ec13e34f3369d1848954c44e
src/java/com/android/internal/telephony/PhoneBase.java