Issue 549, Make slightly more consistent by changing value of as-yet-unused key ENCODE_FORMAT

git-svn-id: https://zxing.googlecode.com/svn/trunk@1581 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
srowen 2010-09-10 08:24:51 +00:00
parent c19eb95cfc
commit fa10404128
2 changed files with 1 additions and 2 deletions

View file

@ -127,7 +127,7 @@ public final class Intents {
* it defaults to QR Code. Use Intent.putExtra(FORMAT, format), where
* format is one of Contents.Format.
*/
public static final String FORMAT = "com.google.zxing.client.android.ENCODE_FORMAT";
public static final String FORMAT = "ENCODE_FORMAT";
private Encode() {
}

View file

@ -112,7 +112,6 @@ final class QRCodeEncoder {
} catch (IllegalArgumentException iae) {
// Ignore it then
format = null;
formatString = null;
}
if (format == null || BarcodeFormat.QR_CODE.equals(format)) {
String type = intent.getStringExtra(Intents.Encode.TYPE);