Merge "Send ACTION_PENDING_INCIDENT_REPORTS_CHANGED broadcast with flags" into rvc-dev am: ed508bb1dc am: 0fc6303135 am: 8d38c460ed
Change-Id: I1e137f0f69c86882349ede0c95244736f9070472
This commit is contained in:
@@ -359,6 +359,8 @@ class PendingReports {
|
||||
private void sendBroadcast(ComponentName receiver, int primaryUser) {
|
||||
final Intent intent = new Intent(Intent.ACTION_PENDING_INCIDENT_REPORTS_CHANGED);
|
||||
intent.setComponent(receiver);
|
||||
intent.addFlags(Intent.FLAG_RECEIVER_FOREGROUND);
|
||||
intent.addFlags(Intent.FLAG_RECEIVER_INCLUDE_BACKGROUND);
|
||||
final BroadcastOptions options = BroadcastOptions.makeBasic();
|
||||
options.setBackgroundActivityStartsAllowed(true);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user