no more singletons - what is heap space if we can have tasty side effects

This commit is contained in:
AdrianLxM 2019-10-29 22:25:02 +01:00 committed by GitHub
parent 9798c9b47a
commit 7189115c3e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,7 +20,7 @@ class NsClientReceiverDelegate {
private final Context context;
private NetworkChangeReceiver networkChangeReceiver = NetworkChangeReceiver.instance;
private NetworkChangeReceiver networkChangeReceiver = new NetworkChangeReceiver();
private ChargingStateReceiver chargingStateReceiver = new ChargingStateReceiver();
private boolean allowedChargingState = true;