Add parseSetBarcodeActivity method

This commit is contained in:
jacques 2022-02-19 12:18:00 +01:00
parent 3fd04c7b21
commit 2a7856179c

View file

@ -1,6 +1,7 @@
package net.foucry.pilldroid; package net.foucry.pilldroid;
import android.app.Activity; import android.app.Activity;
import android.content.Context;
import android.content.Intent; import android.content.Intent;
import android.util.Log; import android.util.Log;
@ -48,14 +49,14 @@ public class Utils {
/** /**
* parse barcode result into barcodevalues * parse barcode result into barcodevalues
* @param int requestCode * @param requestCode int
* @param int resutltcode * @param resultCode int
* @param Intent intent * @param intent Intent
* @param Context context * @param context Context
* @param context
* @return BarcodeValues * @return BarcodeValues
*/ */
static public BarcodeValues parseSetBarcodeActivtyResult(int requestCode, int resultCode, Intent intent, DrugListActivity context) { static public BarcodeValues parseSetBarcodeActivityResult(int requestCode, int resultCode,
Intent intent, Context context) {
String contents = null; String contents = null;
String format = null; String format = null;