Merge "Add unaudited exported flag to exposed runtime receivers"
This commit is contained in:
committed by
Android (Google) Code Review
commit
e53c884a73
@@ -130,7 +130,8 @@ public class TestPackageInstaller {
|
||||
IntentSender getIntentSender(int sessionId) {
|
||||
String action = BROADCAST_ACTION + "." + sessionId;
|
||||
IntentFilter filter = new IntentFilter(action);
|
||||
mContext.registerReceiver(this, filter);
|
||||
mContext.registerReceiver(this, filter,
|
||||
Context.RECEIVER_EXPORTED_UNAUDITED);
|
||||
|
||||
Intent intent = new Intent(action);
|
||||
PendingIntent pending = PendingIntent.getBroadcast(mContext, sessionId, intent,
|
||||
|
||||
Reference in New Issue
Block a user