Add @Inject to RileyLinkMedtronicService constructor

`@Inject`ed types should always have the annotation on their constructor,
otherwise dependency resolution might break.
This commit is contained in:
Steffen Müthing 2020-08-19 13:10:27 +02:00
parent f3bb80c25b
commit a42c5e701e

View file

@ -55,8 +55,9 @@ public class RileyLinkMedtronicService extends RileyLinkService {
private boolean inPreInit = true; private boolean inPreInit = true;
// This empty constructor must be kept, otherwise dagger injection might break!
@Inject
public RileyLinkMedtronicService() { public RileyLinkMedtronicService() {
super();
} }