power: Fixing broken condition

Fixing broken condition in make file

Change-Id: I109cb4090aabd83a1512307f18bc397fb7dc9a67
This commit is contained in:
Deevana Murthy Bandaru
2019-09-27 19:19:15 +05:30
parent 0f4b56b12f
commit c7f54f5385
2 changed files with 4 additions and 4 deletions

View File

@@ -91,9 +91,7 @@ LOCAL_MODULE_TAGS := optional
LOCAL_CFLAGS += -Wno-unused-parameter -Wno-unused-variable
LOCAL_VENDOR_MODULE := true
include $(BUILD_SHARED_LIBRARY)
endif
ifeq ($(call is-board-platform-in-list,trinket), false)
else
LOCAL_MODULE := android.hardware.power@1.2-service
LOCAL_INIT_RC := android.hardware.power@1.2-service.rc
LOCAL_MODULE_TAGS := optional

View File

@@ -1,3 +1,5 @@
ifeq ($(call is-board-platform-in-list,trinket), false)
ifeq ($(call is-board-platform-in-list,trinket), true)
TARGET_USES_NON_LEGACY_POWERHAL := false
else
TARGET_USES_NON_LEGACY_POWERHAL := true
endif