OSDN Git Service

Don't ever report a null ServiceState
authorRobert Greenwalt <rgreenwalt@google.com>
Thu, 30 Jun 2011 19:24:26 +0000 (12:24 -0700)
committerRobert Greenwalt <rgreenwalt@google.com>
Thu, 30 Jun 2011 19:42:57 +0000 (12:42 -0700)
commita2267451ddf91cc330f4c283e86811e38328915b
tree8f487fbd1c40ee6d8408b2377f12dff42a0f9037
parentf3f9967e22201276d65f4be6006aca1cecc2a604
Don't ever report a null ServiceState

Report out of service if we don't know any better.  Sometimes when switching radios
we were finding nulls reported - it crashed some code and highlighted this problem.
If we don't have a service state we're certainly out of service, so this isn't a lie.

bug:4553701
Change-Id: I094798a5f9f39f45c0ba30179aaa8f88f9b3e405
telephony/java/android/telephony/ServiceState.java
telephony/java/com/android/internal/telephony/DefaultPhoneNotifier.java