fix merge conflict
This commit is contained in:
commit
e6f173f305
|
@ -2,6 +2,7 @@ package info.nightscout.androidaps.plugins.Overview;
|
|||
|
||||
import android.annotation.SuppressLint;
|
||||
import android.app.Activity;
|
||||
import android.app.NotificationManager;
|
||||
import android.content.Context;
|
||||
import android.content.DialogInterface;
|
||||
import android.graphics.Color;
|
||||
|
@ -605,6 +606,7 @@ public class OverviewFragment extends Fragment implements View.OnClickListener,
|
|||
@Override
|
||||
public void run() {
|
||||
hideTempRecommendation();
|
||||
clearNotification();
|
||||
PumpEnactResult applyResult = MainApp.getConfigBuilder().applyAPSRequest(finalLastRun.constraintsProcessed);
|
||||
if (applyResult.enacted) {
|
||||
finalLastRun.setByPump = applyResult;
|
||||
|
@ -838,6 +840,12 @@ public class OverviewFragment extends Fragment implements View.OnClickListener,
|
|||
});
|
||||
}
|
||||
|
||||
private void clearNotification() {
|
||||
NotificationManager notificationManager =
|
||||
(NotificationManager) MainApp.instance().getSystemService(Context.NOTIFICATION_SERVICE);
|
||||
notificationManager.cancel(Constants.notificationID);
|
||||
}
|
||||
|
||||
private void updatePumpStatus(String status) {
|
||||
if (!status.equals("")) {
|
||||
pumpStatusView.setText(status);
|
||||
|
@ -1454,7 +1462,7 @@ public class OverviewFragment extends Fragment implements View.OnClickListener,
|
|||
addSeriesWithoutInvalidate(new PointsWithLabelGraphSeries<>(bg), bgGraph);
|
||||
}
|
||||
|
||||
// Treatments
|
||||
// Treatments
|
||||
List<DataPointWithLabelInterface> filteredTreatments = new ArrayList<>();
|
||||
|
||||
List<Treatment> treatments = MainApp.getConfigBuilder().getTreatmentsFromHistory();
|
||||
|
|
Loading…
Reference in a new issue