Fix dangerous unsafe_get() in SensorRecord am: eb05947ae2 am: 8781d839de
am: bc36f97776

Change-Id: I4e24829d158b3ba059f96e7b56c66151e3cf31c2