am 77c96dd8: Merge "Don\'t launch broadcast receiver processes during boot" into lmp-mr1-dev

automerge: 8192670

* commit '8192670937e3dee8e2c521a9ed1118a5782a2912':
  Don't launch broadcast receiver processes during boot
This commit is contained in:
Christopher Tate
2015-01-20 23:55:00 +00:00
committed by android-build-merger

View File

@@ -1401,6 +1401,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);