Initialize native Sensor object correctly
am: 27cc5f9634

Change-Id: I68624e6fd595dad494ed79d699ab6a2f51d60b55