When phone changes update InBoundSmsHandlers and CellBroadcastHandlers.
authorWink Saville <wink@google.com>
Thu, 31 Oct 2013 18:50:52 +0000 (11:50 -0700)
committerWink Saville <wink@google.com>
Thu, 31 Oct 2013 18:50:52 +0000 (11:50 -0700)
commitd2feaf918ab0c1173d4ada182532e48d0c0d3f77
treef52bba0d7ad4aaaa77e918ebd8f27fb7806c61b3
parent3522c54a64f577f2b657a775dae9b4eb2d8003d5
When phone changes update InBoundSmsHandlers and CellBroadcastHandlers.

Without this change for devices where the phone can change, for instance
on N5 with Sprint the phone will change from a GSMPhone to a CDMALTEPhone
and messages will not be sent to the appropriate handler.

For Sprint this was most readily seen when the voice mail notification
wasn't sent to the notification manager.

Bug: 11254397
Change-Id: Ia0e764cf6fa04208a7e194a35435f251a177309f
src/java/com/android/internal/telephony/CellBroadcastHandler.java
src/java/com/android/internal/telephony/ImsSMSDispatcher.java
src/java/com/android/internal/telephony/InboundSmsHandler.java
src/java/com/android/internal/telephony/WakeLockStateMachine.java
src/java/com/android/internal/telephony/cdma/CdmaInboundSmsHandler.java
src/java/com/android/internal/telephony/cdma/CdmaServiceCategoryProgramHandler.java
src/java/com/android/internal/telephony/gsm/GsmCellBroadcastHandler.java
src/java/com/android/internal/telephony/gsm/GsmInboundSmsHandler.java