Remove unused injector argument in RileyLinkBLE

This commit is contained in:
Steffen Müthing 2020-08-18 01:02:49 +02:00
parent 8f7ba93c47
commit 3ad41d07c5

View file

@ -20,7 +20,6 @@ import java.util.concurrent.Semaphore;
import javax.inject.Inject; import javax.inject.Inject;
import javax.inject.Singleton; import javax.inject.Singleton;
import dagger.android.HasAndroidInjector;
import info.nightscout.androidaps.logging.AAPSLogger; import info.nightscout.androidaps.logging.AAPSLogger;
import info.nightscout.androidaps.logging.LTag; import info.nightscout.androidaps.logging.LTag;
import info.nightscout.androidaps.plugins.pump.common.hw.rileylink.RileyLinkConst; import info.nightscout.androidaps.plugins.pump.common.hw.rileylink.RileyLinkConst;
@ -61,7 +60,7 @@ public class RileyLinkBLE {
private boolean mIsConnected = false; private boolean mIsConnected = false;
@Inject @Inject
public RileyLinkBLE(HasAndroidInjector injector, final Context context) { public RileyLinkBLE(final Context context) {
this.context = context; this.context = context;
this.bluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); this.bluetoothAdapter = BluetoothAdapter.getDefaultAdapter();