From dd2f59e4abb306221a7a1c783c66e493aa490a49 Mon Sep 17 00:00:00 2001 From: Tomasz Wasilczyk Date: Wed, 8 Feb 2017 10:01:00 -0800 Subject: [PATCH] Add radio HAL stub to the build list; fix format warning. Test: it builds Change-Id: Id093441b9909f564d30f8351931ee3ccf55f2617 --- modules/Android.mk | 16 +++++++++++++--- modules/radio/radio_hw.c | 2 +- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/modules/Android.mk b/modules/Android.mk index 2a58b3e3..462081dc 100644 --- a/modules/Android.mk +++ b/modules/Android.mk @@ -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)) diff --git a/modules/radio/radio_hw.c b/modules/radio/radio_hw.c index fbf8c948..09f07b1e 100644 --- a/modules/radio/radio_hw.c +++ b/modules/radio/radio_hw.c @@ -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; }