Since the following broadcast intent is differentiated only by extra
for each SIM, if intents for Slot1 and Slot2 are sent in succession,
Slot1 intent can be overwritten, causing loss of information. To prevent
the issue, remove "FLAG_RECEIVER_REPLACE_PENDING" from intent.
- ACTION_SIGNAL_STRENGTH_CHANGED
Bug:
30296957
Change-Id: I281f8063b2bf10efe3165ea29305265bd9d3eb30
}
Intent intent = new Intent(TelephonyIntents.ACTION_SIGNAL_STRENGTH_CHANGED);
- intent.addFlags(Intent.FLAG_RECEIVER_REPLACE_PENDING);
Bundle data = new Bundle();
signalStrength.fillInNotifierBundle(data);
intent.putExtras(data);