Initialize native Sensor object correctly am: 27cc5f9634
am: 16539f8ed5

Change-Id: I3dd79aa4b3303c6190b800c4fe018d31a5ea71f0