summaryrefslogtreecommitdiffstats
path: root/radio
diff options
context:
space:
mode:
authorJessica Wagantall <jwagantall@cyngn.com>2016-11-09 11:51:30 -0800
committerJessica Wagantall <jwagantall@cyngn.com>2016-11-09 11:58:46 -0800
commit26c5fa31d17a638bf314de6e12e86bb8a86db44b (patch)
treebdc7f3eeafcd04c5194bec6e8f3f2892a52432a0 /radio
parent1c6e16c0b4082c0edaca4fcc0838f33bf14ffac8 (diff)
parentc13a507aa0badeb5f8482c25e2845780ba021ce7 (diff)
downloadframeworks_av-26c5fa31d17a638bf314de6e12e86bb8a86db44b.zip
frameworks_av-26c5fa31d17a638bf314de6e12e86bb8a86db44b.tar.gz
frameworks_av-26c5fa31d17a638bf314de6e12e86bb8a86db44b.tar.bz2
Merge tag 'android-6.0.1_r74' into HEAD
CYNGNOS-3303 Android 6.0.1 release 74 Change-Id: I0a14578751f4ecb8d13def26b9ffe5dcba4afd72
Diffstat (limited to 'radio')
-rw-r--r--radio/Radio.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/radio/Radio.cpp b/radio/Radio.cpp
index e3554c2..3c04fb0 100644
--- a/radio/Radio.cpp
+++ b/radio/Radio.cpp
@@ -55,7 +55,7 @@ namespace {
sp<DeathNotifier> gDeathNotifier;
}; // namespace anonymous
-const sp<IRadioService>& Radio::getRadioService()
+const sp<IRadioService> Radio::getRadioService()
{
Mutex::Autolock _l(gLock);
if (gRadioService.get() == 0) {
@@ -84,7 +84,7 @@ status_t Radio::listModules(struct radio_properties *properties,
uint32_t *numModules)
{
ALOGV("listModules()");
- const sp<IRadioService>& service = getRadioService();
+ const sp<IRadioService> service = getRadioService();
if (service == 0) {
return NO_INIT;
}
@@ -98,7 +98,7 @@ sp<Radio> Radio::attach(radio_handle_t handle,
{
ALOGV("attach()");
sp<Radio> radio;
- const sp<IRadioService>& service = getRadioService();
+ const sp<IRadioService> service = getRadioService();
if (service == 0) {
return radio;
}