diff options
author | Dianne Hackborn <hackbod@google.com> | 2013-04-04 18:50:23 -0700 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2013-04-08 13:08:37 -0700 |
commit | 79f7ec70ebd5758ce54fd5b6fcd60fd27457cba6 (patch) | |
tree | 6bc7542adfb792659a153a5000fb94a3ed6abb6a /cmds/media/Android.mk | |
parent | bab9687e6473072d6ff4f7ea5a7b21bcfbf95744 (diff) | |
download | frameworks_base-79f7ec70ebd5758ce54fd5b6fcd60fd27457cba6.zip frameworks_base-79f7ec70ebd5758ce54fd5b6fcd60fd27457cba6.tar.gz frameworks_base-79f7ec70ebd5758ce54fd5b6fcd60fd27457cba6.tar.bz2 |
Have audio service clean up new receivers in crashing processes.
The new media button receiver with only a pending intent (no
component name) could be left hanging if the process that
registered it went away. These semantically need to be tied
to the calling process's lifetime; we now clean them up when
the calling process goes away.
Also added some additional cleanup of media button receivers
when packages change (updated, cleared).
And on top of that, a new "media" command for doing media
things. Currently lets you send media keys and monitor
remote display data.
Oh and finally added a new BaseCommand base class for
implementing these command line utilities.
Change-Id: Iba1d56f10bab1eec4a94a7bb1d1c2ae614c8bcf5
Diffstat (limited to 'cmds/media/Android.mk')
-rw-r--r-- | cmds/media/Android.mk | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/cmds/media/Android.mk b/cmds/media/Android.mk new file mode 100644 index 0000000..b9451c5 --- /dev/null +++ b/cmds/media/Android.mk @@ -0,0 +1,15 @@ +# Copyright 2013 The Android Open Source Project +# +LOCAL_PATH:= $(call my-dir) + +include $(CLEAR_VARS) +LOCAL_SRC_FILES := $(call all-subdir-java-files) +LOCAL_MODULE := media_cmd +include $(BUILD_JAVA_LIBRARY) + +include $(CLEAR_VARS) +LOCAL_MODULE := media +LOCAL_SRC_FILES := media +LOCAL_MODULE_CLASS := EXECUTABLES +LOCAL_MODULE_TAGS := optional +include $(BUILD_PREBUILT) |