- small cosmetic change
This commit is contained in:
parent
0149378b13
commit
02366cad62
1 changed files with 3 additions and 12 deletions
|
@ -61,18 +61,14 @@ public class OmnipodManager {
|
||||||
private ActiveBolusData activeBolusData;
|
private ActiveBolusData activeBolusData;
|
||||||
private final Object bolusDataMutex = new Object();
|
private final Object bolusDataMutex = new Object();
|
||||||
|
|
||||||
//private HasAndroidInjector injector;
|
private AAPSLogger aapsLogger;
|
||||||
AAPSLogger aapsLogger;
|
private SP sp;
|
||||||
SP sp;
|
|
||||||
|
|
||||||
public OmnipodManager(//HasAndroidInjector injector,
|
public OmnipodManager(AAPSLogger aapsLogger,
|
||||||
AAPSLogger aapsLogger,
|
|
||||||
SP sp,
|
SP sp,
|
||||||
OmnipodCommunicationManager communicationService,
|
OmnipodCommunicationManager communicationService,
|
||||||
PodSessionState podState,
|
PodSessionState podState,
|
||||||
PodStateChangedHandler podStateChangedHandler) {
|
PodStateChangedHandler podStateChangedHandler) {
|
||||||
// this.injector = injector;
|
|
||||||
// this.injector.androidInjector().inject(this);
|
|
||||||
if (communicationService == null) {
|
if (communicationService == null) {
|
||||||
throw new IllegalArgumentException("Communication service cannot be null");
|
throw new IllegalArgumentException("Communication service cannot be null");
|
||||||
}
|
}
|
||||||
|
@ -86,11 +82,6 @@ public class OmnipodManager {
|
||||||
this.podStateChangedHandler = podStateChangedHandler;
|
this.podStateChangedHandler = podStateChangedHandler;
|
||||||
}
|
}
|
||||||
|
|
||||||
// public OmnipodManager(HasAndroidInjector injector,
|
|
||||||
// OmnipodCommunicationManager communicationService,
|
|
||||||
// PodSessionState podState) {
|
|
||||||
// this(injector, communicationService, podState, null);
|
|
||||||
// }
|
|
||||||
|
|
||||||
public synchronized Single<SetupActionResult> pairAndPrime() {
|
public synchronized Single<SetupActionResult> pairAndPrime() {
|
||||||
logStartingCommandExecution("pairAndPrime");
|
logStartingCommandExecution("pairAndPrime");
|
||||||
|
|
Loading…
Reference in a new issue