mirror of
https://github.com/apache/cordova-android.git
synced 2025-02-12 10:42:58 +08:00
CB-1829: Online/Offline events do not fire on subsequent pages of an app
This commit is contained in:
parent
e51b4897a3
commit
dc459c84a3
@ -147,13 +147,6 @@ public class NetworkManager extends CordovaPlugin {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Stop the network receiver on navigation.
|
|
||||||
*/
|
|
||||||
public void onReset() {
|
|
||||||
this.onDestroy();
|
|
||||||
}
|
|
||||||
|
|
||||||
//--------------------------------------------------------------------------
|
//--------------------------------------------------------------------------
|
||||||
// LOCAL METHODS
|
// LOCAL METHODS
|
||||||
//--------------------------------------------------------------------------
|
//--------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user