Result from EditAlarmActivity returns to AlarmsFragment and the list is updated correctly
This commit is contained in:
@@ -234,6 +234,7 @@ public class EditAlarmActivity extends BaseActivity implements AlarmNumpad.KeyLi
|
||||
scheduleAlarm(alarm);
|
||||
}
|
||||
|
||||
setResult(RESULT_OK);
|
||||
showEditorClosed();
|
||||
}
|
||||
|
||||
@@ -246,6 +247,7 @@ public class EditAlarmActivity extends BaseActivity implements AlarmNumpad.KeyLi
|
||||
}
|
||||
mDatabaseManager.deleteAlarm(mOldAlarm);
|
||||
}
|
||||
setResult(RESULT_OK);
|
||||
showEditorClosed();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user