Merge "Refactor the native RuntimeSensor API."