am 77c96dd8: Merge "Don\'t launch broadcast receiver processes during boot" into lmp-mr1-dev
* commit '77c96dd80ac25f91b226eff70034c1a4e81e593b': Don't launch broadcast receiver processes during boot
This commit is contained in:
@@ -1400,6 +1400,7 @@ public class AudioService extends IAudioService.Stub {
|
||||
}
|
||||
|
||||
private void sendBroadcastToAll(Intent intent) {
|
||||
intent.addFlags(Intent.FLAG_RECEIVER_REGISTERED_ONLY_BEFORE_BOOT);
|
||||
final long ident = Binder.clearCallingIdentity();
|
||||
try {
|
||||
mContext.sendBroadcastAsUser(intent, UserHandle.ALL);
|
||||
|
||||
Reference in New Issue
Block a user