android_system_core/healthd
Yi Kong 808e57e3f3 healthd: Fix negativity check after cast to unsigned enum
mapSysfsString return code is checked for negativity after being casted
to unsigned enum type, which will always be false. This is obviously
unintended behaviour.

Fixes tautological-unsigned-enum-zero-compare warning.

Bug: 72331526
Test: m
Change-Id: Icec76d7a1121cb56fd9d05feb70cede69954c322
2018-03-02 18:42:03 +00:00
..
images
include/healthd healthd: don't report fake data for battery-less devices 2018-02-05 19:48:30 +00:00
tests
Android.bp Added libhealthd-headers. 2017-07-10 16:05:51 -07:00
Android.mk healthd: restructure healthd_mode_charger 2017-07-19 22:46:54 +00:00
AnimationParser.cpp
AnimationParser.h
BatteryMonitor.cpp healthd: Fix negativity check after cast to unsigned enum 2018-03-02 18:42:03 +00:00
BatteryPropertiesRegistrar.cpp
BatteryPropertiesRegistrar.h
OWNERS Add OWNERS. 2017-12-07 13:30:03 -08:00
animation.h
charger.cpp
healthd.cpp
healthd_common.cpp
healthd_draw.cpp healthd: restructure healthd_mode_charger 2017-07-19 22:46:54 +00:00
healthd_draw.h healthd: restructure healthd_mode_charger 2017-07-19 22:46:54 +00:00
healthd_mode_android.cpp
healthd_mode_charger.cpp resolve merge conflicts of 796987482 to stage-aosp-master 2017-10-17 12:36:14 -07:00