When phone changes update InBoundSmsHandlers and CellBroadcastHandlers.
authorWink Saville <wink@google.com>
Thu, 31 Oct 2013 18:50:52 +0000 (11:50 -0700)
committerThe Android Automerger <android-build@google.com>
Fri, 1 Nov 2013 19:56:43 +0000 (12:56 -0700)
commit3ba048e25c35806cfeca3a5419565e64c9c5deef
treee6df0d49891f18397773a88e5e15e8aa9c919234
parent2a374a4abef88e4cf7c6030ff831e3e0b9f658e3
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