mirror of
https://github.com/zxing/zxing.git
synced 2025-03-05 20:48:51 -08:00
Indentation wtf
This commit is contained in:
parent
e19e20b5dc
commit
01bbe8fd53
|
@ -266,7 +266,7 @@ public class IntentIntegrator {
|
||||||
* if a prompt was needed, or null otherwise.
|
* if a prompt was needed, or null otherwise.
|
||||||
*/
|
*/
|
||||||
public final AlertDialog initiateScan(int cameraId) {
|
public final AlertDialog initiateScan(int cameraId) {
|
||||||
return initiateScan(ALL_CODE_TYPES, cameraId);
|
return initiateScan(ALL_CODE_TYPES, cameraId);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -279,7 +279,7 @@ public class IntentIntegrator {
|
||||||
* if a prompt was needed, or null otherwise.
|
* if a prompt was needed, or null otherwise.
|
||||||
*/
|
*/
|
||||||
public final AlertDialog initiateScan(Collection<String> desiredBarcodeFormats) {
|
public final AlertDialog initiateScan(Collection<String> desiredBarcodeFormats) {
|
||||||
return initiateScan(desiredBarcodeFormats, -1);
|
return initiateScan(desiredBarcodeFormats, -1);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -309,10 +309,10 @@ public class IntentIntegrator {
|
||||||
intentScan.putExtra("SCAN_FORMATS", joinedByComma.toString());
|
intentScan.putExtra("SCAN_FORMATS", joinedByComma.toString());
|
||||||
}
|
}
|
||||||
|
|
||||||
// check requested camera ID
|
// check requested camera ID
|
||||||
if (cameraId > -1) {
|
if (cameraId > -1) {
|
||||||
intentScan.putExtra("SCAN_CAMERA_ID", cameraId);
|
intentScan.putExtra("SCAN_CAMERA_ID", cameraId);
|
||||||
}
|
}
|
||||||
|
|
||||||
String targetAppPackage = findTargetAppPackage(intentScan);
|
String targetAppPackage = findTargetAppPackage(intentScan);
|
||||||
if (targetAppPackage == null) {
|
if (targetAppPackage == null) {
|
||||||
|
|
Loading…
Reference in a new issue