IntentIntegrator.java (zxing-zxing-3.4.0) | : | IntentIntegrator.java (zxing-zxing-3.4.1) | ||
---|---|---|---|---|
skipping to change at line 144 | skipping to change at line 144 | |||
public static final List<String> TARGET_BARCODE_SCANNER_ONLY = Collections.sin gletonList(BS_PACKAGE); | public static final List<String> TARGET_BARCODE_SCANNER_ONLY = Collections.sin gletonList(BS_PACKAGE); | |||
public static final List<String> TARGET_ALL_KNOWN = list( | public static final List<String> TARGET_ALL_KNOWN = list( | |||
BSPLUS_PACKAGE, // Barcode Scanner+ | BSPLUS_PACKAGE, // Barcode Scanner+ | |||
BSPLUS_PACKAGE + ".simple", // Barcode Scanner+ Simple | BSPLUS_PACKAGE + ".simple", // Barcode Scanner+ Simple | |||
BS_PACKAGE // Barcode Scanner | BS_PACKAGE // Barcode Scanner | |||
// What else supports this intent? | // What else supports this intent? | |||
); | ); | |||
// Should be FLAG_ACTIVITY_NEW_DOCUMENT in API 21+. | // Should be FLAG_ACTIVITY_NEW_DOCUMENT in API 21+. | |||
// Defined once here because the current value is deprecated, so generates jus t one warning | // Defined once here because the current value is deprecated, so generates jus t one warning | |||
@SuppressWarnings("deprecation") | ||||
private static final int FLAG_NEW_DOC = Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_R ESET; | private static final int FLAG_NEW_DOC = Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_R ESET; | |||
private final Activity activity; | private final Activity activity; | |||
private final Fragment fragment; | private final Fragment fragment; | |||
private String title; | private String title; | |||
private String message; | private String message; | |||
private String buttonYes; | private String buttonYes; | |||
private String buttonNo; | private String buttonNo; | |||
private List<String> targetApplications; | private List<String> targetApplications; | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 1 lines changed or added |