Closed Jean-BaptisteC closed 3 months ago
Fixes #10
When user use Android back button to leave CustomScannerActivity.Intent in DrugListActivity catch a null value that's cause the crash. The solution is to call onCancel when onBackPressed is call to return a valid value to intent in DrugListActivity.
CustomScannerActivity
DrugListActivity
cc @jfoucry
Thanks @Jean-BaptisteC
Fixes #10
When user use Android back button to leave
CustomScannerActivity
.Intent inDrugListActivity
catch a null value that's cause the crash. The solution is to call onCancel when onBackPressed is call to return a valid value to intent inDrugListActivity
.