Felipe Leme fa26a0ed08 Refactored Shell to use IDumpstateListener.
BugreportProgressService used to poll system properties to get the
progress of the underlying dumpstate process, but now dumpstate provides
a IDumpstateListener and IDumpstateToken binder objects for the same
purpose.

Test: BugreportReceiverTest passes
Test: manual verification

BUG: 31636879

Change-Id: I81d551781a511cb1cc218a27452875b0bb267f7a
2016-11-11 15:50:21 -08:00

26 lines
723 B
Makefile

LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE_TAGS := optional
LOCAL_SRC_FILES := $(call all-java-files-under, src)
LOCAL_SRC_FILES += \
../../../native/cmds/dumpstate/binder/android/os/IDumpstate.aidl \
../../../native/cmds/dumpstate/binder/android/os/IDumpstateListener.aidl \
../../../native/cmds/dumpstate/binder/android/os/IDumpstateToken.aidl
LOCAL_AIDL_INCLUDES = frameworks/native/cmds/dumpstate/binder
LOCAL_STATIC_JAVA_LIBRARIES := android-support-v4
LOCAL_PACKAGE_NAME := Shell
LOCAL_CERTIFICATE := platform
LOCAL_PRIVILEGED_MODULE := true
LOCAL_JACK_COVERAGE_INCLUDE_FILTER := com.android.shell.*
include $(BUILD_PACKAGE)
include $(LOCAL_PATH)/tests/Android.mk