diff options
author | Doug Zongker <dougz@google.com> | 2014-03-18 00:15:27 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-03-18 00:15:27 +0000 |
commit | 2f10b6bc23e092df9eace913794a5b5fa1bd3ca2 (patch) | |
tree | 32ee9bf3eaf42e63534c83ebb51606c1ba957052 /healthd | |
parent | 5f24f5de721a01596ddaf6611104b01fe237d5dc (diff) | |
parent | 706d57b2948cc2eec22dc16394cf5582586b4237 (diff) | |
download | system_core-2f10b6bc23e092df9eace913794a5b5fa1bd3ca2.zip system_core-2f10b6bc23e092df9eace913794a5b5fa1bd3ca2.tar.gz system_core-2f10b6bc23e092df9eace913794a5b5fa1bd3ca2.tar.bz2 |
am 706d57b2: am 769c6452: update minui library call
* commit '706d57b2948cc2eec22dc16394cf5582586b4237':
update minui library call
Diffstat (limited to 'healthd')
-rw-r--r-- | healthd/healthd_mode_charger.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/healthd/healthd_mode_charger.cpp b/healthd/healthd_mode_charger.cpp index fc3ac67..710f5b6 100644 --- a/healthd/healthd_mode_charger.cpp +++ b/healthd/healthd_mode_charger.cpp @@ -646,7 +646,7 @@ void healthd_mode_charger_init(struct healthd_config *config) healthd_register_event(epollfd, charger_event_handler); } - ret = res_create_surface("charger/battery_fail", &charger->surf_unknown); + ret = res_create_display_surface("charger/battery_fail", &charger->surf_unknown); if (ret < 0) { LOGE("Cannot load battery_fail image\n"); charger->surf_unknown = NULL; @@ -656,7 +656,7 @@ void healthd_mode_charger_init(struct healthd_config *config) gr_surface* scale_frames; int scale_count; - ret = res_create_multi_surface("charger/battery_scale", &scale_count, &scale_frames); + ret = res_create_multi_display_surface("charger/battery_scale", &scale_count, &scale_frames); if (ret < 0) { LOGE("Cannot load battery_scale image\n"); charger->batt_anim->num_frames = 0; |