Fix dangerous unsafe_get() in SensorRecord
am: eb05947ae2

Change-Id: I0d2de87d4efcb1b7cedf9ccf067813e639659577