Ejemplo n.º 1
0
  @Override
  public void release() {
    super.release();

    // font sensor will not support fd in other mode
    CameraInfo info = CameraHolder.instance().getCameraInfo()[mCamera.getCameraId()];
    if (info.facing == CameraInfo.CAMERA_FACING_FRONT) {
      stopFaceDetection();
    }
  }