public cton on NetworkChangeReceiver
This commit is contained in:
parent
1ab004a39e
commit
9798c9b47a
1 changed files with 2 additions and 6 deletions
|
@ -28,11 +28,7 @@ public class NetworkChangeReceiver extends BroadcastReceiver {
|
||||||
|
|
||||||
// TODO: Split NSClient into network state component that can be used by several plugins and logic for plugin
|
// TODO: Split NSClient into network state component that can be used by several plugins and logic for plugin
|
||||||
public static void fetch() {
|
public static void fetch() {
|
||||||
NetworkChangeReceiver.instance.grabNetworkStatus(MainApp.instance().getApplicationContext());
|
new NetworkChangeReceiver().grabNetworkStatus(MainApp.instance().getApplicationContext());
|
||||||
}
|
|
||||||
|
|
||||||
private NetworkChangeReceiver() {
|
|
||||||
super();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue