mirror of
https://github.com/zxing/zxing.git
synced 2025-03-05 20:48:51 -08:00
Don't beep/vibrate when choosing item from history
git-svn-id: https://zxing.googlecode.com/svn/trunk@2412 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
parent
5da73140a5
commit
6dd4420bdd
|
@ -409,9 +409,10 @@ public final class CaptureActivity extends Activity implements SurfaceHolder.Cal
|
|||
lastResult = rawResult;
|
||||
ResultHandler resultHandler = ResultHandlerFactory.makeResultHandler(this, rawResult);
|
||||
historyManager.addHistoryItem(rawResult, resultHandler);
|
||||
beepManager.playBeepSoundAndVibrate();
|
||||
|
||||
if (barcode != null) {
|
||||
// Then not from history, so beep/vibrate and we have an image to draw on
|
||||
beepManager.playBeepSoundAndVibrate();
|
||||
drawResultPoints(barcode, rawResult);
|
||||
}
|
||||
switch (source) {
|
||||
|
|
Loading…
Reference in a new issue