@Override
    public void pause() {
        stopDecoderThread();

        super.pause();
    }
Stops the live preview and decoding.

Call from the Activity's onPause() method.
zxing-android-embedded/src/com/journeyapps/barcodescanner/BarcodeView.java