public void stop() {
        Util.validateMainThread();

        synchronized (LOCK) {
            running = false;
            handler.removeCallbacksAndMessages(null);
            thread.quit();
        }
    }
Stop decoding.

This must be called from the UI thread.
zxing-android-embedded/src/com/journeyapps/barcodescanner/DecoderThread.java