79f7ec70eb
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
16 lines
367 B
Makefile
16 lines
367 B
Makefile
# 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)
|