OSDN Git Service

Radio: get service by value.
authorEric Laurent <elaurent@google.com>
Wed, 7 Sep 2016 23:58:39 +0000 (16:58 -0700)
committerEric Laurent <elaurent@google.com>
Fri, 9 Sep 2016 18:46:43 +0000 (11:46 -0700)
commit28a0e9ec74e5192aacffb279c80619ef284062b0
treee3b12f02e07f09992385206578f3b9367c6141a2
parent483c0d40535b9787160ec1fa79dbf3cbc273b93f
Radio: get service by value.

Get strong pointer to service interface by value and not reference to
prevent race conditions where the service pointer can be cleared
by another thread while in use.

Bug: 30907212
Change-Id: Iae838b3b672562c1d0cd63968399a6bfdda7f5ab
include/radio/Radio.h
radio/Radio.cpp