Add radio HAL stub to the build list; fix format warning.

Test: it builds
Change-Id: Id093441b9909f564d30f8351931ee3ccf55f2617
This commit is contained in:
Tomasz Wasilczyk 2017-02-08 10:01:00 -08:00
parent a0ce42c710
commit dd2f59e4ab
2 changed files with 14 additions and 4 deletions

View file

@ -1,4 +1,14 @@
hardware_modules := gralloc hwcomposer \
usbaudio audio_remote_submix camera usbcamera sensors \
input vehicle thermal vr
hardware_modules := \
audio_remote_submix \
camera \
gralloc \
hwcomposer \
input \
radio \
sensors \
thermal \
usbaudio \
usbcamera \
vehicle \
vr
include $(call all-named-subdir-makefiles,$(hardware_modules))

View file

@ -189,7 +189,7 @@ static int add_bitmap_metadata(radio_metadata_t **metadata, radio_metadata_key_t
exit:
close(fd);
free(data);
ALOGE_IF(ret != 0, "%s error %d", __func__, ret);
ALOGE_IF(ret != 0, "%s error %d", __func__, (int)ret);
return (int)ret;
}