Log history reads.
(cherry picked from commit 7326f29)
This commit is contained in:
parent
2b995a8a73
commit
038ea06abc
|
@ -219,8 +219,10 @@ public class RuffyScripter implements RuffyCommands {
|
|||
@Override
|
||||
public CommandResult readReservoirLevelAndLastBolus() {
|
||||
if (readQuickInfoMenu) {
|
||||
Answers.getInstance().logCustom(new CustomEvent("ComboReadQuickInfoCmd"));
|
||||
return runCommand(new ReadReservoirLevelAndLastBolus());
|
||||
}
|
||||
Answers.getInstance().logCustom(new CustomEvent("ComboReadHistoryCmd"));
|
||||
return runCommand(new ReadHistoryCommand(new PumpHistoryRequest().bolusHistory(PumpHistoryRequest.LAST)));
|
||||
}
|
||||
|
||||
|
@ -819,6 +821,7 @@ public class RuffyScripter implements RuffyCommands {
|
|||
|
||||
@Override
|
||||
public CommandResult readHistory(PumpHistoryRequest request) {
|
||||
Answers.getInstance().logCustom(new CustomEvent("ComboReadHistoryCmd"));
|
||||
return runCommand(new ReadHistoryCommand(request));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue