Fix MSIM issue of broadcast intent overwritten unintentionally
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
This commit is contained in:
committed by
Toshiya Ikenaga
parent
0bebfe76fc
commit
941b7ec438
@@ -1381,7 +1381,6 @@ class TelephonyRegistry extends ITelephonyRegistry.Stub {
|
||||
}
|
||||
|
||||
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);
|
||||
|
||||
Reference in New Issue
Block a user