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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user