platform_system_core/healthd
Todd Poynor e5d1b62300 charger: minui error handling fixups
Log an error if minui init fails, and avoid subsequent calls to minui
in this case (which are likely to crash).

Warn if no system text font available.  This is now expected on most
devices, and the fallback text is not expected to be needed, but just
in case.

Avoid the attempt to print text if no system font available, log
warnings instead.

Bug: 80249440
Test: manual: charger mode with no system font
Change-Id: Ib0c761d37e41a893b2a192438eebcf48c4827049
Merged-In: Ib0c761d37e41a893b2a192438eebcf48c4827049
(cherry picked from commit 8211515fbe)
2018-07-30 08:45:52 -07:00
..
images remove pixelflinger from healthd 2014-03-11 12:25:41 -07:00
include/healthd libbatterymonitor: vendor_available 2018-07-16 11:26:04 -07:00
tests Allow customization of charger animation 2016-09-12 21:07:27 -07:00
Android.bp libbatterymonitor: vendor_available 2018-07-16 11:26:04 -07:00
Android.mk libbatterymonitor: vendor_available 2018-07-16 11:26:04 -07:00
AnimationParser.cpp Allow customization of charger animation 2016-09-12 21:07:27 -07:00
AnimationParser.h Allow customization of charger animation 2016-09-12 21:07:27 -07:00
BatteryMonitor.cpp healthd: Fix negativity check after cast to unsigned enum 2018-03-02 18:42:03 +00:00
BatteryPropertiesRegistrar.cpp healthd: notify listeners using local copy of list, drop lock 2017-06-29 22:25:40 +00:00
BatteryPropertiesRegistrar.h healthd: Implement scheduleUpdate 2017-03-22 12:15:11 -07:00
OWNERS healthd: Add elsk as OWNERS 2018-05-03 12:25:00 -07:00
animation.h Allow customization of charger animation 2016-09-12 21:07:27 -07:00
charger.cpp healthd: refactor healthd code to split into 'charger' and 'healthd' 2016-11-08 07:36:07 -08:00
healthd.cpp health HAL uses "default" service name 2017-02-23 19:32:29 +00:00
healthd_common.cpp healthd: refactor healthd code to split into 'charger' and 'healthd' 2016-11-08 07:36:07 -08:00
healthd_draw.cpp charger: minui error handling fixups 2018-07-30 08:45:52 -07:00
healthd_draw.h charger: minui error handling fixups 2018-07-30 08:45:52 -07:00
healthd_mode_android.cpp healthd: refactor healthd code to split into 'charger' and 'healthd' 2016-11-08 07:36:07 -08:00
healthd_mode_charger.cpp healthd_mode_charger: unblank the screen only on first frame 2018-07-30 00:18:06 -07:00