Repaire legacy barcode for Android