synchronized void stop() {
    if (useAutoFocus) {
      camera.cancelAutoFocus();
    }
    if (outstandingTask != null) {
      outstandingTask.cancel();
      outstandingTask = null;
    }
    active = false;
    manual = false;
  }
Performs a manual auto-focus after the given delay.
@param delay Time to wait before auto-focusing, in milliseconds
OCRTest/src/main/java/edu/sfsu/cs/orange/ocr/camera/AutoFocusManager.java