OSDN Git Service

Fix dangerous unsafe_get() in SensorRecord
authorPeng Xu <pengxu@google.com>
Fri, 12 Aug 2016 23:39:44 +0000 (16:39 -0700)
committerPeng Xu <pengxu@google.com>
Mon, 15 Aug 2016 19:36:19 +0000 (12:36 -0700)
commitded526e8c3539b5986b46dffc1ff8ab15d7da570
tree196194638a297960b4e2ad46ac8396f3dbc3652f
parent3c13a41a054b5d85e436571e61523ca4b567b032
Fix dangerous unsafe_get() in SensorRecord

Change raw pointers to wp<> and constify relevant lines in
SensorRecord.

Bug: 30261110

Change-Id: I7f28c593366af44192991061fa5f71cf925b22a8
services/sensorservice/SensorEventConnection.cpp
services/sensorservice/SensorEventConnection.h
services/sensorservice/SensorRecord.cpp
services/sensorservice/SensorRecord.h
services/sensorservice/SensorService.cpp
services/sensorservice/SensorService.h