Skip to content
Commit 9003106e authored by gang.huang's avatar gang.huang
Browse files

Dynamic broadcast receivers that are not exported need to be filtered in checkBroadcastFromSystem

When the system code sending non-protected broadcast,
if it's dynamic broadcast receiver is not exported,
the wtf log of sending non-protected broadcast should not be printed.

Bug:263210319

Test:A system code, for example com.android.settings
step1:send a non-protected broadcast but with packageName to itself;
step2:it registers a dynamic broadcast receiver with Context.RECEIVER_NOT_EXPORTED to receive this broadcast.

Change-Id: Ie7e359d1ae079be0d444c72791ff1b2a892b71bb
parent 854155d3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment