releases connection to ksensor . must be called from activity #ondestroy . concode_field_sep boolean mUsingInternalSensor concode_elem_sep DockEventReceiver mDockEventReceiver concode_elem_sep Context mApplicationContext concode_elem_sep RotationSensorListener mListener concode_elem_sep Runnable mOnUndock concode_elem_sep GVRInternalSensorListener mInternalSensorListener concode_elem_sep Runnable mOnDock concode_field_sep void startInternalSensor concode_elem_sep void onPause concode_elem_sep void run concode_elem_sep void run concode_elem_sep void onInternalRotationSensor concode_elem_sep void onResume concode_elem_sep void onRotationSensorChanged concode_elem_sep void stopInternalSensor
void function ( ) { mDockEventReceiver . stop ( ) ; stopInternalSensor ( ) ; }