Added a new broadcast receiver to handle Brzail channel 50 area info
Moved the area info handler from CellBroadcastReceiver to CellBroadcastAreaInfoReceiver. bug: 25628456 Change-Id: I2c7c6bb83245fcb6d9cc7b5dce7496e906160bab
This commit is contained in:
@@ -117,9 +117,7 @@ public class SimStatus extends InstrumentedPreferenceActivity {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
CellBroadcastMessage cbMessage = (CellBroadcastMessage) extras.get("message");
|
CellBroadcastMessage cbMessage = (CellBroadcastMessage) extras.get("message");
|
||||||
if (cbMessage != null
|
if (cbMessage != null && cbMessage.getServiceCategory() == 50) {
|
||||||
&& cbMessage.getServiceCategory() == 50
|
|
||||||
&& mSir.getSubscriptionId() == cbMessage.getSubId()) {
|
|
||||||
String latestAreaInfo = cbMessage.getMessageBody();
|
String latestAreaInfo = cbMessage.getMessageBody();
|
||||||
updateAreaInfo(latestAreaInfo);
|
updateAreaInfo(latestAreaInfo);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user