lineage: Complete the rebrand
* TODO: Rebrand cmsdk when it's in a working state Change-Id: I0d8d573f9e0032110ae3a0f54ebe11a877b83137
@@ -15,8 +15,8 @@ endif
|
||||
endif
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
LOCAL_SRC_FILES := healthd_board_cm.cpp
|
||||
LOCAL_MODULE := libhealthd.cm
|
||||
LOCAL_SRC_FILES := healthd_board_lineage.cpp
|
||||
LOCAL_MODULE := libhealthd.lineage
|
||||
LOCAL_CFLAGS := -Werror
|
||||
LOCAL_C_INCLUDES := \
|
||||
system/core/healthd/include \
|
||||
@@ -44,7 +44,7 @@ include $(CLEAR_VARS)
|
||||
|
||||
define _add-charger-image
|
||||
include $$(CLEAR_VARS)
|
||||
LOCAL_MODULE := vendor_cm_charger_$(notdir $(1))
|
||||
LOCAL_MODULE := vendor_lineage_charger_$(notdir $(1))
|
||||
LOCAL_MODULE_STEM := $(notdir $(1))
|
||||
_img_modules += $$(LOCAL_MODULE)
|
||||
LOCAL_SRC_FILES := $1
|
||||
@@ -60,7 +60,7 @@ $(foreach _img, $(call find-subdir-subdir-files, "images/$(healthd_density)", "*
|
||||
$(eval $(call _add-charger-image,$(_img))))
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := cm_charger_res_images
|
||||
LOCAL_MODULE := lineage_charger_res_images
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_REQUIRED_MODULES := $(_img_modules)
|
||||
LOCAL_OVERRIDES_PACKAGES := charger_res_images
|
||||
|
@@ -303,10 +303,10 @@ void healthd_board_init(struct healthd_config*)
|
||||
char value[PROP_VALUE_MAX];
|
||||
int rc = 0, scale_count = 0, i;
|
||||
GRSurface **scale_frames;
|
||||
int scale_fps; // Not in use (charger/cm_battery_scale doesn't have FPS text
|
||||
int scale_fps; // Not in use (charger/lineage_battery_scale doesn't have FPS text
|
||||
// chunk). We are using hard-coded frame.disp_time instead.
|
||||
|
||||
rc = res_create_multi_display_surface("charger/cm_battery_scale",
|
||||
rc = res_create_multi_display_surface("charger/lineage_battery_scale",
|
||||
&scale_count, &scale_fps, &scale_frames);
|
||||
if (rc < 0) {
|
||||
LOGE("%s: Unable to load battery scale image", __func__);
|
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 5.5 KiB After Width: | Height: | Size: 5.5 KiB |
Before Width: | Height: | Size: 5.8 KiB After Width: | Height: | Size: 5.8 KiB |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 28 KiB |
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 42 KiB |