Merge "SensorManager: attach background thread to JavaVM" into oc-dev