mirror of
https://github.com/CatimaLoyalty/Android.git
synced 2026-01-17 03:18:07 -05:00
Remove unneeded code
The IntentIntegrator parses out the result, so this code is not necessary.
This commit is contained in:
@@ -449,14 +449,6 @@ public class LoyaltyCardEditActivity extends AppCompatActivity
|
||||
format = result.getFormatName();
|
||||
}
|
||||
|
||||
if(requestCode == SELECT_BARCODE_REQUEST && resultCode == Activity.RESULT_OK)
|
||||
{
|
||||
Log.i(TAG, "Received barcode information from capture");
|
||||
|
||||
contents = intent.getStringExtra(BarcodeSelectorActivity.BARCODE_CONTENTS);
|
||||
format = intent.getStringExtra(BarcodeSelectorActivity.BARCODE_FORMAT);
|
||||
}
|
||||
|
||||
if(contents != null && contents.isEmpty() == false &&
|
||||
format != null && format.isEmpty() == false)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user