commit | 15c257eb8f077fc4f6c95f8a7bc84dd9a7b39c61 | [log] [tgz] |
---|---|---|
author | Jake Hamby <jhamby@google.com> | Mon Jul 23 14:42:33 2012 -0700 |
committer | Jake Hamby <jhamby@google.com> | Mon Jul 23 14:42:33 2012 -0700 |
tree | 166ee5e4c6906730f2390ce6e5d33bbe4583998e | |
parent | c7504032f3826a27da7ac9d75b1b56c7e4c4ce32 [diff] |
Fix detection of CDMA cell broadcast messages. The bIsServicePresent field of an incoming CDMA SMS RIL message is not a reliable way to distinguish broadcast from point-to-point messages on some RILs. Change CDMA SmsMessage.getMessageType() to return MESSAGE_TYPE_BROADCAST when the service category is not 0, and MESSAGE_TYPE_POINT_TO_POINT when the service category is 0. Bug: 6853691 Change-Id: I0d44a8ce0bb295da5125271db90652570d655bc1