OSDN Git Service

Fix issue #30601353: Don't warn of non-protected explicit intent broadcasts
authorDianne Hackborn <hackbod@google.com>
Tue, 2 Aug 2016 21:08:23 +0000 (14:08 -0700)
committerDianne Hackborn <hackbod@google.com>
Tue, 2 Aug 2016 21:08:23 +0000 (14:08 -0700)
commitde8572d9319cd1ff3b765d64fc131f8e9695c473
tree5bcc2a34dee4df0d15c77038edaa5fca3660dcdd
parent0cf4d47a4094a43984a5215ab1a283b0fdcf87a8
Fix issue #30601353: Don't warn of non-protected explicit intent broadcasts

We still check for security errors of non-system apps trying to send
protected broadcasts at the front.

However, the WTF check for system apps sending non-protected broadcasts
is now moved down to where we actually resolve the receivers, so we
can loosed then check to make it okay as long as you are sending an
explicit intent to only appropriately protected receivers.

Change-Id: I5214c6c26a60de083f1f9578bcc5e95ba19f7001
services/core/java/com/android/server/am/ActivityManagerService.java