Merge "Added multi sim support back for brazil channel 50 messages." into nyc-mr1-dev

This commit is contained in:
Jack Yu
2016-06-23 18:41:21 +00:00
committed by Android (Google) Code Review

View File

@@ -128,7 +128,8 @@ public class SimStatus extends SettingsPreferenceFragment {
return;
}
CellBroadcastMessage cbMessage = (CellBroadcastMessage) extras.get("message");
if (cbMessage != null && cbMessage.getServiceCategory() == 50) {
if (cbMessage != null && cbMessage.getServiceCategory() == 50
&& mSir.getSubscriptionId() == cbMessage.getSubId()) {
String latestAreaInfo = cbMessage.getMessageBody();
updateAreaInfo(latestAreaInfo);
}