mirror of
https://github.com/apache/cordova-android.git
synced 2025-01-19 15:12:51 +08:00
Add onReset() to GeoBroker.
This commit is contained in:
parent
20c885418e
commit
6192319f8c
@ -141,6 +141,14 @@ public class GeoBroker extends Plugin {
|
||||
this.gpsListener = null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Called when the view navigates.
|
||||
* Stop the listeners.
|
||||
*/
|
||||
public void onReset() {
|
||||
this.onDestroy();
|
||||
}
|
||||
|
||||
public JSONObject returnLocationJSON(Location loc) {
|
||||
JSONObject o = new JSONObject();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user