protected void onDestroy() {
    // Log.d(TAG, "enter ContShooting#onDestroy");
    super.onDestroy();
    if (mPreview != null) {
      mPreview.release();
    }

    mOrientationListener.disable();
  }