summaryrefslogtreecommitdiffstats
path: root/media/java
diff options
context:
space:
mode:
authorChristopher Tate <ctate@google.com>2015-01-20 23:55:00 +0000
committerandroid-build-merger <android-build-merger@google.com>2015-01-20 23:55:00 +0000
commitebdec3e0921d1495ca712f4f1f7755d975297d14 (patch)
tree2ce0570b4490adc030fcb5f91a9b7939c22878ab /media/java
parentfb4fde7053ba4bbba79175c31f7cdcac464b4c1c (diff)
parent8192670937e3dee8e2c521a9ed1118a5782a2912 (diff)
downloadframeworks_base-ebdec3e0921d1495ca712f4f1f7755d975297d14.zip
frameworks_base-ebdec3e0921d1495ca712f4f1f7755d975297d14.tar.gz
frameworks_base-ebdec3e0921d1495ca712f4f1f7755d975297d14.tar.bz2
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
Diffstat (limited to 'media/java')
-rw-r--r--media/java/android/media/AudioService.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/media/java/android/media/AudioService.java b/media/java/android/media/AudioService.java
index 46bc637..2ef245c 100644
--- a/media/java/android/media/AudioService.java
+++ b/media/java/android/media/AudioService.java
@@ -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);