Added multi sim support back for brazil channel 50 messages.

Reverted the MSIM removeal CL ag/825835.

bug: 28787384
Change-Id: I2f3691a83c117c2f01a78788d6e95e51a314d51f
This commit is contained in:
Jack Yu
2016-06-22 17:11:19 -07:00
parent 34adfc533c
commit bc7b0fec2e

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);
}