mirror of
https://github.com/apache/cordova-android.git
synced 2026-04-23 00:00:09 +08:00
Update classes to use module, and make constructors consistent.
This commit is contained in:
@@ -12,7 +12,7 @@ import android.webkit.WebView;
|
||||
* This class only starts and stops various GeoListeners, which consist of a GPS and a Network Listener
|
||||
*/
|
||||
|
||||
public class GeoBroker {
|
||||
public class GeoBroker extends Module {
|
||||
private WebView mAppView;
|
||||
private DroidGap mCtx;
|
||||
private HashMap<String, GeoListener> geoListeners;
|
||||
@@ -20,6 +20,7 @@ public class GeoBroker {
|
||||
|
||||
public GeoBroker(WebView view, DroidGap ctx)
|
||||
{
|
||||
super(view, ctx);
|
||||
mCtx = ctx;
|
||||
mAppView = view;
|
||||
geoListeners = new HashMap<String, GeoListener>();
|
||||
|
||||
Reference in New Issue
Block a user