avoid StringIndexOutOfBoundsException when value length is less than 5
@@ -3110,6 +3110,7 @@ public class EMDK3ScannerSettings
if(values[0].endsWith("/")) value = "/" + values[1];
else value = values[1];
}
+ if(value.length() >= 5)
value = value.substring(5);
if(!value.equalsIgnoreCase(Environment.getExternalStorageDirectory().getAbsolutePath() + "/" + "decode.wav"))
config.scanParams.decodeAudioFeedbackUri = value;
