mirror of
https://github.com/apache/cordova-android.git
synced 2025-02-01 02:12:58 +08:00
Add onReset() to NetworkManager.
This commit is contained in:
parent
6192319f8c
commit
ba8577fa5f
@ -153,6 +153,13 @@ public class NetworkManager extends Plugin {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Stop the network receiver on navigation.
|
||||||
|
*/
|
||||||
|
public void onReset() {
|
||||||
|
this.onDestroy();
|
||||||
|
}
|
||||||
|
|
||||||
//--------------------------------------------------------------------------
|
//--------------------------------------------------------------------------
|
||||||
// LOCAL METHODS
|
// LOCAL METHODS
|
||||||
//--------------------------------------------------------------------------
|
//--------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user