forked from TeamWin/android_bootable_recovery
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
twrp: use health services for battery capacity
Change-Id: I99dfb82238e2b3ae90932af0c7fd74822d971232 Signed-off-by: Mohd Faraz <[email protected]>
- Loading branch information
1 parent
44e2346
commit d4df003
Showing
5 changed files
with
10 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -79,8 +79,8 @@ else | |
LOCAL_CFLAGS += -DTW_EXCLUDE_APEX | ||
endif | ||
|
||
LOCAL_STATIC_LIBRARIES += libavb libtwrpinstall libminadbd_services libinit libsnapshot_nobinder update_metadata-protos | ||
LOCAL_SHARED_LIBRARIES += libfs_mgr libhardware [email protected] [email protected] [email protected] libprotobuf-cpp-lite liblp libutils libhidlbase | ||
LOCAL_STATIC_LIBRARIES += libavb libtwrpinstall libminadbd_services libinit libsnapshot_nobinder update_metadata-protos librecovery_utils libhealthhalutils | ||
LOCAL_SHARED_LIBRARIES += libfs_mgr libhardware [email protected] [email protected] [email protected] libprotobuf-cpp-lite liblp libutils libhidlbase [email protected] | ||
LOCAL_C_INCLUDES += \ | ||
system/core/fs_mgr/libfs_avb/include/ \ | ||
system/core/fs_mgr/include_fstab/ \ | ||
|
@@ -378,11 +378,6 @@ endif | |
ifneq ($(TW_CUSTOM_BATTERY_PATH),) | ||
LOCAL_CFLAGS += -DTW_CUSTOM_BATTERY_PATH=$(TW_CUSTOM_BATTERY_PATH) | ||
endif | ||
ifneq ($(TW_BATTERY_SYSFS_WAIT_SECONDS),) | ||
LOCAL_CFLAGS += -DTW_BATTERY_SYSFS_WAIT_SECONDS=$(TW_BATTERY_SYSFS_WAIT_SECONDS) | ||
else | ||
LOCAL_CFLAGS += -DTW_BATTERY_SYSFS_WAIT_SECONDS=3 | ||
endif | ||
ifneq ($(TW_CUSTOM_CPU_TEMP_PATH),) | ||
LOCAL_CFLAGS += -DTW_CUSTOM_CPU_TEMP_PATH=$(TW_CUSTOM_CPU_TEMP_PATH) | ||
endif | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters