#A0000173088: Fix su lettura ul anonima.

This commit is contained in:
2019-03-07 18:22:55 +01:00
parent d0aed1ed17
commit 06a55e2a5c
5 changed files with 52 additions and 12 deletions

View File

@@ -27,9 +27,6 @@ public class PointMobileBarcodeReader implements BarcodeReaderInterface {
private static String TAG = PointMobileBarcodeReader.class.getName();
private int mBackupResultType = ScanConst.ResultType.DCD_RESULT_COPYPASTE;
public PointMobileBarcodeReader(Context context) {
this.mContext = context;
@@ -51,8 +48,7 @@ public class PointMobileBarcodeReader implements BarcodeReaderInterface {
public void init() throws BarcodeAdapterNotFoundException {
if(isRightAdapter()){
try{
mBackupResultType = mScanManager.aDecodeGetResultType();
mScanManager.aDecodeSetTerminator(ScanConst.Terminator.DCD_TERMINATOR_NONE);
mScanManager.aDecodeSetResultType(ScanConst.ResultType.DCD_RESULT_USERMSG);
} catch (Exception ex) {
throw new BarcodeAdapterNotFoundException(getAdapterName());