commit | bececc79d608c40af442e10109ba4c71630b43ef | [log] [tgz] |
---|---|---|
author | Jake Hamby <jhamby@google.com> | Mon Jul 23 14:42:33 2012 -0700 |
committer | The Android Automerger <android-build@android.com> | Tue Jul 24 19:16:55 2012 -0700 |
tree | a4293a9c5797fafa2d8cbe58e483e2d79e49d942 | |
parent | 96d9299b95f3af870c1d10e408344e1085c0b265 [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