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:
Christopher Tate
2015-01-20 23:12:24 +00:00
committed by Android Git Automerger

View File

@@ -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);