mirror of
https://github.com/team-infusion-developers/android_hardware_samsung.git
synced 2024-10-31 23:37:35 +00:00
31c0675e72
* Introduce a main switch to actually enable/disable doze globally * Move preferences handling out of SamsungDozeService class and create Utils class to hold all helper methods. Change-Id: Idb40650296d50352b4a985d2068f14cda6cb4aaf
35 lines
800 B
Makefile
35 lines
800 B
Makefile
LOCAL_PATH:= $(call my-dir)
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE_TAGS := optional
|
|
|
|
LOCAL_SRC_FILES := $(call all-java-files-under, src)
|
|
|
|
LOCAL_PACKAGE_NAME := SamsungDoze
|
|
LOCAL_CERTIFICATE := platform
|
|
LOCAL_PRIVATE_PLATFORM_APIS := true
|
|
LOCAL_PRIVILEGED_MODULE := true
|
|
|
|
LOCAL_USE_AAPT2 := true
|
|
|
|
LOCAL_STATIC_ANDROID_LIBRARIES := \
|
|
androidx.core_core \
|
|
androidx.preference_preference
|
|
|
|
LOCAL_STATIC_JAVA_LIBRARIES := \
|
|
org.lineageos.platform.internal
|
|
|
|
LOCAL_PROGUARD_FLAG_FILES := proguard.flags
|
|
|
|
LOCAL_RESOURCE_DIR := \
|
|
$(LOCAL_PATH)/res \
|
|
$(TOP)/packages/resources/devicesettings/res
|
|
|
|
ifneq ($(INCREMENTAL_BUILDS),)
|
|
LOCAL_PROGUARD_ENABLED := disabled
|
|
LOCAL_JACK_ENABLED := incremental
|
|
endif
|
|
|
|
include frameworks/base/packages/SettingsLib/common.mk
|
|
|
|
include $(BUILD_PACKAGE)
|