mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-27 19:35:10 +01:00
Improved printable string
This commit is contained in:
@@ -232,7 +232,7 @@ public class AdapterMedia extends RecyclerView.Adapter<AdapterMedia.ViewHolder>
|
||||
BinaryBitmap bBitmap = new BinaryBitmap(new HybridBinarizer(source));
|
||||
MultiFormatReader reader = new MultiFormatReader();
|
||||
Result result = reader.decode(bBitmap);
|
||||
args.putString("barcode_text", Helper.getPrintableString(result.getText()));
|
||||
args.putString("barcode_text", Helper.getPrintableString(result.getText(), false));
|
||||
args.putString("barcode_format", result.getBarcodeFormat().name());
|
||||
} catch (NotFoundException ex) {
|
||||
Log.w(ex);
|
||||
|
||||
Reference in New Issue
Block a user