BroadcastRecord's receivers could be null.

Bug: 227729678
Test: adb shell "am broadcast -a android.intent.action.BOOT_COMPLETED -n com.android.providers.media/.MediaScannerReceiver"
Change-Id: Idf4076a3e7d6e67bb00d3e90f479166e5b8682f4
This commit is contained in:
huiyu
2022-04-07 16:20:42 -07:00
parent 8629d70ac7
commit 505838ed0b

View File

@@ -1918,7 +1918,7 @@ public final class BroadcastQueue {
+ " completeLatency:" + completeLatency
+ " dispatchRealLatency:" + dispatchRealLatency
+ " completeRealLatency:" + completeRealLatency
+ " receiversSize:" + r.receivers.size()
+ " receiversSize:" + numReceivers
+ " userId:" + r.userId
+ " userType:" + (userInfo != null? userInfo.userType : null));
FrameworkStatsLog.write(