Merge branch 'omnipod_eros' of https://github.com/AAPS-Omnipod/AndroidAPS into omnipod_eros

This commit is contained in:
Andy Rozman 2019-12-30 18:37:26 +01:00
commit 9de968cb26

View file

@ -628,7 +628,7 @@ public class AapsOmnipodManager implements OmnipodCommunicationManagerInterface
private void showErrorDialog(String message, Integer sound) {
Intent intent = new Intent(MainApp.instance(), ErrorHelperActivity.class);
intent.putExtra("soundid", sound);
intent.putExtra("soundid", sound == null ? 0 : sound);
intent.putExtra("status", message);
intent.putExtra("title", MainApp.gs(R.string.treatmentdeliveryerror));
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);