private static List<String> list(String... values) {
        return Collections.unmodifiableList(Arrays.asList(values));
    }
Parse activity result, without checking the request code.

@param resultCode result code from {@code onActivityResult()}
@param intent     {@link Intent} from {@code onActivityResult()}
@return an {@link IntentResult} containing the result of the scan. If the user cancelled scanning,
the fields will be null.
zxing-android-embedded/src/com/google/zxing/integration/android/IntentIntegrator.java