At startup, we check with PackageManager whether a system service is available before attempting to load it. A system service is available if its associated feature (similar to hardware features) is present. This does not remove unavailable services from the compiled jar. Change-Id: I13571805083aa4e65519a74acb52efd17b9fb3d7
11 lines
192 B
Makefile
11 lines
192 B
Makefile
LOCAL_PATH := $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE := services.accessibility
|
|
|
|
LOCAL_SRC_FILES += \
|
|
$(call all-java-files-under,java)
|
|
|
|
include $(BUILD_STATIC_JAVA_LIBRARY)
|