(undo one unintentional change)

git-svn-id: https://zxing.googlecode.com/svn/trunk@2126 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
srowen 2012-01-20 20:01:54 +00:00
parent 8eb473fc40
commit e2620cef49

View file

@ -440,12 +440,12 @@ public final class CaptureActivity extends Activity implements SurfaceHolder.Cal
inactivityTimer.onActivity(); inactivityTimer.onActivity();
lastResult = rawResult; lastResult = rawResult;
ResultHandler resultHandler = ResultHandlerFactory.makeResultHandler(this, rawResult); ResultHandler resultHandler = ResultHandlerFactory.makeResultHandler(this, rawResult);
historyManager.addHistoryItem(rawResult, resultHandler);
if (barcode == null) { if (barcode == null) {
// This is from history -- no saved barcode // This is from history -- no saved barcode
handleDecodeInternally(rawResult, resultHandler, null); handleDecodeInternally(rawResult, resultHandler, null);
} else { } else {
historyManager.addHistoryItem(rawResult, resultHandler);
beepManager.playBeepSoundAndVibrate(); beepManager.playBeepSoundAndVibrate();
drawResultPoints(barcode, rawResult); drawResultPoints(barcode, rawResult);
switch (source) { switch (source) {